flaree / flare-cogs

Various cogs written for Red-DiscordBot
MIT License
76 stars 69 forks source link

[highlight] Cooldown doesn't seem to do anything? #138

Closed WreckRox closed 2 years ago

WreckRox commented 2 years ago

Describe the bug Even after setting a highlight cooldown of 60s, I kept getting highlights. You can check the context in #testing (Red) after this message.

I set the cooldown after roughly 20 dms and, it went up every time someone triggered my highlights even after setting the cooldown.

DMs

Output of [p]help CogName and [p]debuginfo [p]help Highlight [p]debuginfo

flaree commented 2 years ago

Was there anything in the logs? I cannot repo this, it works fine on any bot I've tried

WreckRox commented 2 years ago

Nope, nothing in the logs. Just tested it again with 2 users this time. Cooldown doesn't affect the highlights being triggered.

JeffJrShim commented 2 years ago

It works for me, reference

flaree commented 2 years ago

Just posting here as future reference. This is now confirmed broke due to some failed attempts at fixing. Will be fixed in a future commit once I have time after exams.

flaree commented 2 years ago

fixed in latest commit