Functionalities
Other
Powered By GitBook
$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.

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

Example 2: Returns the name of the specific guild.

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