Skip to content

$guildRulesChannelID

$guildRulesChannelID will return a guild’s set rules channel ID.

Usage

$guildRulesChannelID[guildID?]

Parameters

FieldTypeDescriptionRequired
guildID?numberThe ID of the guild.false

Example(s)

This will return the ID of the guild’s rules channel (community guilds only):

1
client.command({
2
name: "guildRulesChannelID",
3
code: `
4
$guildRulesChannelID[$guildID]
5
`
6
});