-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a cooldown for tags (auto-responses) per-channel cooldowns #589
Conversation
This modification adds a cooldown per auto-response (tags) per-channel to make sure that if multiple people execute a tag all at once, then the bot doesn't send it twice. It'll only respond to one tag.
Wouldn't this be better to be an option a server owner can set instead of being hard coded (and being forced on)? |
This sounds like a nice thing to add but there are a few small issues with this implementation:
|
I kind of disagree, because if you have multiple tickets and such with different staff members handling different tickets, or just overall a lot of tickets, this could be annoying (forced, at least) |
The point was that you can use different auto responses at the same time or the same auto response in different channels at the same time. Look at the implementation example |
I completely agree with how it should be based per-channel AND per-autoresponse, this would enforce cooldowns a lot better since then people won't have to wait the cooldown out if another user has used the same tag/autoresponse in the other channel.
I think a reaction is necessary, due to letting the user know that a cooldown is currently active. It would make things much easier and simple to apply to the user's mind, letting them know "Hey, a cooldown is currently in place" without actually sending a message, because atm in my opinion ModBot is just messages everywhere right now. Adding a reaction would ease things up a bit in this aspect, if you get what I mean? Feel free to ask me questions, I can elaborate at any time if you like. |
Autoresponses are not always commands and if the bot reacts to your message with an emoji, and you don't know that it would usually have responded to that message, that might be confusing. I think it would generally be a good thing to implement a real "tag" system that uses slash commands for your use case. This could use an ephemeral response when the tag is on "timeout" while also removing the message before it, providing autocompletion etc. |
This modification adds a cooldown per auto-response (tags) per-channel to make sure that if multiple people execute a tag all at once, then the bot doesn't send it twice. It'll only respond to one tag.
E.G. If a user asks, "how do I appeal?", then four people execute !appeal to show the user what to do, that message is sent 4 times. But with this modification, the bot only replies to one, and reacts with the timer emoji for the rest.