Functionalities
Functions
Data
Other
$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.
bot.Command({
name: "server",
code: `
$guildEmojis
`
})
Example 2: Returns all the names of the emojis in the defined guild.
bot.Command({
name: "server",
code: `
$guildEmojis[$guildID[DB-Script Official Server];name]
`
})
Example 3: Returns all the id's of the emojis in the defined guild. Separated with " | ".
bot.Command({
name: "server",
code: `
$guildChannels[$guildID[DB-Script Official Server];id; | ]
`
})
Copy link