Overview
Properties
Methods
Properties
delay
Type: number | null
The time (in seconds) a user has to wait after sending a message to send another one.
enabled
Type: boolean
Whether slow mode was enabled.
true means it was enabled, false means it was disabled.
Methods
enable(delay)
asyncEnables slow mode in the channel.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| delay | number | 30 | The time (in seconds) a user has to wait after sending a message to send another one. |
Return type: void