davidhozic / discord-advertisement-framework

Automatic advertisements / shilling for Discord. GUI / Console, Multi-Accounts & More!

Home Page:http://daf.davidhozic.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: TextMESSAGE slowmode timer reset

davidhozic opened this issue · comments

What happened?

Wheverer the TextMESSAGE misses a send due to rate limit, it will send the next message with a lower delay. This is a feature to prevent permanent time slippage due to repeated send misses.
However sometimes, if the period is set too close to the slowmode, this lesser delay is lower than the actual slowmode, meaning that the message send will fail.

Proposal: If any of the channels have slowmode, and the next send period is lower than the actual slowmode delay, set the next send time to the slowmode, basically ignoring the anti-slippage feature.

This bug is not a problem for users who have set their moderately way higher than the slowmode delay.
For example if channels have a slowmode of 1 hour, and you've set your messages to be sent at 1 hour and 10 minutes, you should be fine.

Version

2.4, 2.3, 2.2, 2.1

Not a fatal bug, will fix in next stable release