$setGuildName
Sets a new guild name. Bot is automatically rate limited to 2x per hour by the Discord API!

FUNCTION USAGE

  • $setGuildName[name]
  • $setGuildName[name;guildID]

Properties:

name - The new name of the guild. guildID - The ID of the guild to change the name for.

Example:

1
bot.Command({
2
name: "new-servername",
3
code: `
4
New server name: \`$message[]\`
5
$setGuildName[$message[]]
6
$serverCooldown[30m;Cooldown for {time}]
7
`
8
})
Copied!
Last modified 4mo ago
Copy link
Contents
Properties: