#Bot command cooldown

1 messages · Page 1 of 1 (latest)

plucky egret
#

Frequently, when using commands for bot snippets, people may try to use the command themselves, or 2 people may use the command simultaneously in response to someone else's message.
Many bot responses contain a lot of info, so they take up quite a bit of space. having 2 or even sometimes 3 instances of the response disrupts other existing conversations.

I think there should be a 5 second or so cooldown per-command, per-channel, to avoid those scenarios - no punishment or anything, just doesn't respond in the repeated cases or maybe add a reaction.

In terms of implementation, a synchronous system would be ideal, in case of commands being sent very close to each other in time. no need for database persistence

vernal saddle
#

Good idea, we'll see if there's a setting for it after holidays.

winter glacier
#

you could make some of these ephemeral messages so they're only seen by the person triggering it