Functionalities
Other
$allWebhooksCount
Returns the total number of webhooks in a guild. Define a channel to return the webhook total in that channel. Define a guild ID to return the webhook total in that guild.(bot must be in guild)
FUNCTION USAGE
  • $allWebhooksCount
  • $allWebhooksCount[]
  • $allWebhooksCount[guildID]
  • $allWebhooksCount[channelID]

Properties:

[] - Leave blank to check current guild. Same as no brackets. guildID - The guild to check. channelID - The channel to check.

Example 1: Returns the total number of webhooks in the current guild.

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

Example 2: Returns the total number of webhooks in the channel.

1
bot.Command({
2
name: "test",
3
code: `
4
$allWebhooksCount[$channelID]
5
`
6
})
Copied!

Example 3: Returns the total number of webhooks in a specific guild.

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