Functionalities
Other
$getSlowMode
Returns the slowmode time for a channel in seconds. If no slowmode is set for the channel, the output will be `0`.

FUNCTION USAGE

  • $getSlowMode
  • $getSlowMode[]
  • $getSlowMode[channelID]

Properties:

[] - Leave brackets blank to return the current channel's slowmode. Same as no brackets. channelID - Returns the defined channel's slowmode.

Example 1: If the current channel's slowmode is set to 1 hour, the output will be 3600. If it is not set, the output will be 0.

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

Example 2: If the defined channel's slowmode is set to 5 minutes, the output will be 300. If it is not set, the output will be 0.

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