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

[BUG] - Need to do some Error Handling #26

Open
Nikolai558 opened this issue Apr 19, 2022 · 0 comments
Open

[BUG] - Need to do some Error Handling #26

Nikolai558 opened this issue Apr 19, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Nikolai558
Copy link
Owner

Describe the bug
GiveRole Function - needs some error handling done in it. Right now, if the configuration is not correct, this portion will throw a warning in the logs. We need to handle the following potential errors:

Expected behavior
This should cause a message to either go to a "staff channel" saying the "role/channel" could not be found. Or it should just catch it and log it. There are a number of reasons the bot can't find the role/channel maybe account for those reasons individually.

@Nikolai558 Nikolai558 added the bug Something isn't working label Apr 19, 2022
@Nikolai558 Nikolai558 self-assigned this Apr 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant