Skip to content
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

[FEAT] Slowmoder cog #72

Open
tigattack opened this issue Nov 19, 2020 · 0 comments
Open

[FEAT] Slowmoder cog #72

tigattack opened this issue Nov 19, 2020 · 0 comments
Labels
new-cog New cog for bot.

Comments

@tigattack
Copy link
Member

Overview

Copied from BP-Santo's message in #feedback:
How about within a specific time frame we take amount of messages and divide by amount of words? So 10 messages over 10 seconds with 1 words each will result in a score of 10; 3 messages with 30 words each will results in a tiny fraction; There could be a simple threshold and going above could trigger something
Just not sure how heavy that would be on the bot but it could allow people to write one word at a time over say 3 messages while also allowing someone to write 100 words over 10 messages. Could tune by time frame and threshold and if necessary adjust those values dynamically based on time of day or other factors

As BP-Santo said, this will almost certainly need some tuning, but could be a very powerful function to have if we could nail it.

I encourage further discussion on this if beneficial, especially since it is quite a large feature.

As previously discussed, this is a nice to have, please do not sink a lot of time into this if it's too much work.

Commands

[p]slowmoder enable
[p]slowmoder disable
[p]slowmoder interval <seconds> # set slowmode interval to be used when activating slowmode
[p]slowmoder channel enable <channelID>
[p]slowmoder channel disable <channelID>
[p]slowmoder score <value> # set  "score" threshold required before slowmode enablement

DoD

  • A cog which watches channel(s), evaluating messages, enabling slow mode if a certain score is breached. Many small messages in a short timespan reaches a high score, but many lengthy messages are OK, as per the overview.

Stretch

@tigattack tigattack added the new-cog New cog for bot. label Nov 19, 2020
@issy issy removed their assignment Mar 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-cog New cog for bot.
Projects
None yet
Development

No branches or pull requests

2 participants