ToogaInc / ToogaBooga

An open-source Realm of the Mad God Discord chat bot designed for advanced cross-verification, moderation, and raid management.
MIT License
8 stars 4 forks source link

fix(quota): ignore small times when resetting #264

Closed nyapat closed 1 year ago

nyapat commented 1 year ago

quotaReset looks for a time when the function is called, if it is called DURING a reset (because we need to find a new time for our next reset) it will find a really small time (usually like 1000 ms), so I think ignoring anything less than 2.5 minutes is good enough to fix this

closes #252