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

Add a MSPC for reaction handling #21

Open
kingbri1 opened this issue Mar 11, 2021 · 0 comments
Open

Add a MSPC for reaction handling #21

kingbri1 opened this issue Mar 11, 2021 · 0 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@kingbri1
Copy link
Owner

A tokio mspc should allow the futures from reaction events to complete sequentially.

This permanently fixes the temporary workaround for starboard.

@kingbri1 kingbri1 added bug Something isn't working enhancement New feature or request labels Mar 11, 2021
@kingbri1 kingbri1 self-assigned this Mar 11, 2021
kingbri1 added a commit that referenced this issue Mar 11, 2021
Reaction spamming is a big problem when it comes to this starboard.
Since the tasks on reactions are executed in parallel, there can
be an issue in the form of multiple posts.

The temporary fix is to check if the message exists in the DB and if not,
add it to the starboard channel.

References #21
Resolves #20

Signed-off-by: kingbri <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant