CactusDev / CactusBot

An open source, community-written service-agnostic chat bot
MIT License
30 stars 5 forks source link

Channel-wide command cooldown #97

Open AlphaBravoKilo opened 7 years ago

AlphaBravoKilo commented 7 years ago

It would be nice to have a timer that will not allow non-friend users (or non-mod users) to use a command until X seconds later

Example:

<mod> !command cooldown 60
<bot> Commands have a cooldown of 60 seconds
<user1> !hugs
<bot> Hugs for all!
<user1> !hugs
<bot> /whisper user1 55 more seconds until a command can be used again (<-- 55 and 52 is current time)
<user2> !hugs
<bot> /whisper user2 52 more seconds until a command can be used again
<mod> !hugs            (<--- mods can break the cooldown rule)
<bot> Hugs for all!

Sorry if you don't like the format of this recommendation. :P

2Cubed commented 7 years ago

Great idea - we should definitely have this. :smile:

Innectic commented 7 years ago

We should have command-based cooldown instead, IMO

AlphaBravoKilo commented 7 years ago

Well, this is something I noticed that came up in impulseSV's stream. I think both would be good, but I know for sure having a channel-wide version would be great in impulseSV's channel at least

AlphaBravoKilo commented 7 years ago

now that i think about it... command-based would be better idk, i am tired