summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorCadence Ember <cadence@disroot.org>2025-03-10 12:13:13 +1300
committerCadence Ember <cadence@disroot.org>2025-03-10 12:13:13 +1300
commit960eca3b39cfc86dc35b09db2462304ca8f2b67f (patch)
treed4e8b7bb9cffb2d56bbfed14071bb63972d02ddd /scripts
parentUpdate Stacks, restore buttons to featured style (diff)
downloadout-of-your-element-960eca3b39cfc86dc35b09db2462304ca8f2b67f.tar.xz
Update SnowTransfer and use its new method
Diffstat (limited to 'scripts')
-rw-r--r--scripts/setup.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/setup.js b/scripts/setup.js

index d949580..15c17cd 100644 --- a/scripts/setup.js +++ b/scripts/setup.js
@@ -382,7 +382,7 @@ function defineEchoHandler() { // set profile data on discord... const avatarImageBuffer = await fetch("https://cadence.moe/friends/out_of_your_element.png").then(res => res.arrayBuffer()) await discord.snow.user.updateSelf({avatar: "data:image/png;base64," + Buffer.from(avatarImageBuffer).toString("base64")}) - await discord.snow.requestHandler.request(`/applications/@me`, {}, "patch", "json", {description: "Powered by **Out Of Your Element**\nhttps://gitdab.com/cadence/out-of-your-element"}) + await discord.snow.bot.updateApplicationInfo({description: "Powered by **Out Of Your Element**\nhttps://gitdab.com/cadence/out-of-your-element"}) console.log("✅ Discord profile updated...") // set profile data on homeserver...