Functionalities
Functions
Data
Other
$guildName
Returns the guild name of the current guild or the provided guild ID.

FUNCTION USAGE

  • $guildName
  • $guildName[]
  • $guildName[guildID]

Properties:

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

Example 1: Returns the name of the current guild.

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

Example 2: Returns the name of the specific guild.

bot.Command({
name: "guilds",
code: `
$guildName[475856394769348344]
`
})
Copy link