Skip to content

Channel-wide command cooldown #97

Description

@AlphaBravoKilo

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions