$setBotName
Sets the bots name in the developers portal and globally. Bot is automatically rate limited to 2x per hour by the Discord API!

FUNCTION USAGE

  • $setBotName[name]

Properties:

name - The new name of the bot.
Rate limited to 2x per hour! Bot will not change the name after the 2nd change in the same hour. No errors will occur during this cooldown. Catch the cooldown with a limiter yourself.
Example: Setting the bot name with a 30 minute global cooldown.
1
bot.Command({
2
name: "botname",
3
code: `
4
New bot name: \`$message[]\`
5
$setBotName[$message[]]
6
$globalCooldown[30m;Cooldown for {time}]
7
`
8
})
Copied!
Last modified 4mo ago
Copy link
Contents
Properties: