Skip to content

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

@Nikolai558

Description

@Nikolai558

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions