$guildRulesChannelID
$guildRulesChannelID
will return a guild’s set rules channel ID.
Usage
$guildRulesChannelID[guildID?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
guildID? | number | The ID of the guild. | false |
Example(s)
This will return the ID of the guild’s rules channel (community guilds only):
1client.command({2 name: "guildRulesChannelID",3 code: `4 $guildRulesChannelID[$guildID]5 `6});