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

FUNCTION USAGE

  • $setGuildIcon[URL]
  • $setGuildIcon[URL;guildID]

Properties:

URL - A valid image URL to set as the new guild icon. guildID - The ID of the guild to set the icon for.

Example:

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