Functionalities
Functions
Data
Other
$sortGuildNames
Returns the amount of guilds your bot is in sorted by their names. If field is left empty, it will return 10 by default.

FUNCTION USAGE

  • $sortGuildNames
  • $sortGuildNames[]
  • $sortGuildNames[number]
  • $sortGuildNames[number;separator]

Properties:

[] - Returns up to 10 guild names your bot is in. Same as no brackets. number - Returns that specific number of guild names. separator - What to separate the names with. Default is a name on a new line.
  • Bot must be in the server to read the data!

Example 1: Returns up to 10 guild names your bot is in

bot.Command({
name: "guilds",
code: `
$guildNames
`
})

Example 2: Returns up to 17 guild names your bot is in.

bot.Command({
name: "guilds",
code: `
$guildNames[17]
`
})

Example 3: Returns up to 17 guild names your bot is in with a custom separator.

bot.Command({
name: "guilds",
code: `
$guildNames[17; -- ]
`
})
Copy link