Skip to content
This repository was archived by the owner on Oct 2, 2023. It is now read-only.

Help using .+ #102

Open
5 tasks done
TheCataliasTNT2k opened this issue Jul 25, 2021 · 0 comments · May be fixed by #36
Open
5 tasks done

Help using .+ #102

TheCataliasTNT2k opened this issue Jul 25, 2021 · 0 comments · May be fixed by #36
Assignees

Comments

@TheCataliasTNT2k
Copy link
Contributor

TheCataliasTNT2k commented Jul 25, 2021

If a user uses the .+ command multiple times in a row (without error) within a certain time frame (30 seconds), suggest to use .+ ROLE1, ROLE2, ROLE3 (list of roles)

Tasks:

  • Save the usage of .+ and .- in redis if the command succeeds
  • If the number of entries for a user is greater then 3, send a message "Hey, did you know, that you can assign multiple topics by using .+ ROLE1, ROLE2, ROLE3 and remove multiple topics the same way using .-?" in the channel
  • Time to live for these entries should be 30 seconds
  • Let the redis entries expire after the ttl is over
  • If the user assigns multiple roles at once, clear the redis entries for this user
@TheCataliasTNT2k TheCataliasTNT2k added the enhancement New feature or request label Jul 25, 2021
@TheCataliasTNT2k TheCataliasTNT2k changed the title Help using `. Help using .+ Jul 25, 2021
@Tert0 Tert0 self-assigned this Oct 11, 2021
@Tert0 Tert0 linked a pull request Oct 11, 2021 that will close this issue
19 tasks
@Defelo Defelo added this to Issues Mar 28, 2022
@Defelo Defelo moved this from Todo to In Progress in Issues Mar 28, 2022
@Defelo Defelo moved this to Todo in Issues Mar 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

3 participants