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

Help using .+ #102

@TheCataliasTNT2k

Description

@TheCataliasTNT2k

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

Metadata

Metadata

Assignees

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions