$getChannelSlowmode
Gets the slowmode of a channel in seconds, or 0 if there is no slowmode.
Usage
$getChannelSlowmode[channelID]Param
Description
Type
Required
Examples
bot.commands.add({
type: "basicCommand",
name: "example",
code: `$getChannelSlowmode[$channelID]` //Returns the current channel's slowmode.
})bot.commands.add({
type: "basicCommand",
name: "example",
code: `$getChannelSlowmode[$mentionedChannels[1;yes]]` //Returns the mentioned channel's slowmode.
})Last updated
Was this helpful?