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

Prevent users from using reactions from other servers #7

Closed
eibex opened this issue Feb 15, 2020 · 1 comment · Fixed by #9
Closed

Prevent users from using reactions from other servers #7

eibex opened this issue Feb 15, 2020 · 1 comment · Fixed by #9
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@eibex
Copy link
Owner

eibex commented Feb 15, 2020

The bot can only use unicode emojis or reactions uploaded to the server it is being used on. If nitro users try to use reactions from other servers the bot should refuse to use them and warn the user instead of just returning errors after the creation process.

@eibex eibex added bug Something isn't working good first issue Good for newcomers labels Feb 15, 2020
@eibex
Copy link
Owner Author

eibex commented Feb 15, 2020

A simple way to check if a reaction would return an error 400 is to make the bot react to the :reaction: @role message with the reaction used. If an error is caught, then don't write anything to CSV and warn the user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant