Skip to content

$guildSafetyChannelID

$guildSafetyChannelID will return the guild’s safety channel.

Usage

$guildSafetyChannelID[guildID?]

Parameters

FieldTypeDescriptionRequired
guildID?numberThe ID of the guild.false

Example(s)

This will return the safety channel ID of the current guild (if any):

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