Functionalities
Other
$systemChannelID
Returns the ID of the system channel that the server has enabled on the overview tab of thier server. Returns `undefined` if no system channel ID is found.

FUNCTION USAGE

  • $systemChannelID
  • $systemChannelID[]
  • $systemChannelID[guildID]

Properties:

[] - Leave brackets empty to return the system channel ID of the current server. Same as no brackets. guildID - Returns the system channel ID of the defined guild ID.
  • Bot must be in the guild to read the data!

Example 1: Returns the system channel ID the current guild.

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

Example 2: Returns the system channel ID the specific guild.

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