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.
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.