Functionalities
Functions
Data
Other
$guildUpdatesChannel
Returns the updates channel ID of the current guild or specific guild ID (If no updates channel is found, bot will return `undefined`)

FUNCTION USAGE

  • $guildUpdatesChannel
  • $guildUpdatesChannel[]
  • $guildUpdatesChannel[guildID]

Properties:

[] - Leave brackets empty to return the updates channel of the current guild. Same as no brackets. guildID - Supplying a specific guild ID will get the updates channel of that guild.
Bot must be in the guild you are checking to read that data!
Example 1: Returns the updates channel of this guild. Bot will return "undefined" if no updates channel is found
bot.Command({
name: "server",
code: `
Updates channel: <#$guildUpdatesChannel>
`
})
Example 2: Returns the updates channel of the provided guild ID. Bot must be in the guild of the provided guild ID. Bot will return "undefined" if no updates channel is found
bot.Command({
name: "server",
code: `
Updates channel: <#$guildUpdatesChannel[743438202005618747]>
`
})
Copy link
Outline