Functionalities
Other
Powered By GitBook
$guildEmojis
Returns the collection of emojis in a guild. If guild has too many emojis, the command with this function in it will not execute.

FUNCTION USAGE

    $guildEmojis
    $guildEmojis[]
    $guildEmojis[guildID]
    $guildEmojis[guildID;option]
    $guildEmojis[guildID;option;separator]

Properties:

[] - Leave brackets empty to return the emojis of the current guild. Same as no brackets. guildID - Supplying a specific guild ID will get the emojis of that server. option - Returns the emojis with the specific option. Defaults to emoji. separator - Separates each emoji with the defined separator. Defaults to ,

Options:

name - The names of the set of emojis. id - The IDs of the set of emojis. emoji - The physical set of emojis.
Example 1: Returns all the of the emojis in the current guild.
1
bot.Command({
2
name: "server",
3
code: `
4
$guildEmojis
5
`
6
})
Copied!
Example 2: Returns all the names of the emojis in the defined guild.
1
bot.Command({
2
name: "server",
3
code: `
4
$guildEmojis[$guildID[DB-Script Official Server];name]
5
`
6
})
Copied!
Example 3: Returns all the id's of the emojis in the defined guild. Separated with " | ".
1
bot.Command({
2
name: "server",
3
code: `
4
$guildChannels[$guildID[DB-Script Official Server];id; | ]
5
`
6
})
Copied!
Last modified 3mo ago
Copy link