Skip to content

$getChannelSlowmode

$getChannelSlowmode will return a channel’s slowmode in seconds.

Usage

$getChannelSlowmode[channelID?]

Parameters

FieldTypeDescriptionRequired
channelID?numberID of the channel where you want the channel slowmode to be returned of.false

Example(s)

This will return the slowmode of the channel where you execute the command in:

1
client.command({
2
name: "getChannelSlowmode",
3
code: `
4
The current channel slowmode is: $getChannelSlowmode[$channelID] seconds!
5
`
6
});