Functionalities
Other
Powered By GitBook
$guildFeatures
Returns the features of the current or specific guild (if any).

FUNCTION USAGE

    $guildFeatures
    $guildFeatures[]
    $guildFeatures[guildID]

Properties:

[] - Leave brackets empty to return the guild features of the current guild. Same as no brackets. guildID - Supplying a specific guild ID will get the features of that guild.

Results:

    ANIMATED_ICON
    BANNER
    COMMERCE
    COMMUNITY
    DISCOVERABLE
    FEATURABLE
    INVITE_SPLASH
    MEMBER_VERIFICATION_GATE
    NEWS
    PARTNERED
    PREVIEW_ENABLED
    RELAY_ENABLED
    VANITY_URL
    VERIFIED
    VIP_REGIONS
    WELCOME_SCREEN_ENABLED
Bot must be in the guild you are checking to read that data!
Example 1: Returns the features of this guild.
1
bot.Command({
2
name: "server",
3
code: `
4
Features: $guildFeatures
5
`
6
})
Copied!
Example 2: Returns the features of the provided guild ID. Bot must be in the guild of the provided guild ID.
1
bot.Command({
2
name: "server",
3
code: `
4
Features: $guildFeatures[743438202005618747]
5
`
6
})
Copied!
Last modified 3mo ago
Copy link