Functionalities
Other
Powered By GitBook
$guildIcon
Returns the icon of the current guild or provided guild ID.

FUNCTION USAGE

    $guildIcon
    $guildIcon[]
    $guildIcon[guildID]

Properties:

[] - Leave brackets empty to return the icon of the current guild. Same as no brackets. guildID - Returns the icon of that specific guild.
Bot must be in the guild to read the data!

Example 1: Returns the server icon of the current guild.

1
bot.Command({
2
name: "icon",
3
code: `
4
$guildIcon
5
`
6
})
Copied!

Example 1: Returns the server icon of the specific guild.

1
bot.Command({
2
name: "icon",
3
code: `
4
$guildIcon[6534674568456e74567]
5
`
6
})
Copied!
Last modified 3mo ago
Copy link
Contents
Properties: