bot icon indicating copy to clipboard operation
bot copied to clipboard

Implemented optional duration parameter in slowmode command

Open b0nes1 opened this issue 6 months ago • 0 comments

Closes #3327.

Implemented an optional duration argument for the slowmode command. If the duration argument is present, the intended expiration datetime and the original slowmode interval are saved in redis cache. After the duration is elapsed, the original slowmode interval is grabbed from redis and restored to the channel.

The expiration datetime is cached so that it can persist bot restart.

b0nes1 avatar Jun 02 '25 19:06 b0nes1