diff options
| author | 2020-04-17 11:14:05 -0700 | |
|---|---|---|
| committer | 2020-04-17 11:46:12 -0700 | |
| commit | 2b844d8bfbd686f1a56f1efc00dcca4558698016 (patch) | |
| tree | 16d576f5aad45253b00d65099f1f2a1270914716 /tests | |
| parent | HelpChannels: fix role not resetting after dormant command (diff) | |
HelpChannels: handle errors when changing cooldown role
A user may leave the guild before their role can be changed. Sometimes,
there could also be role hierarchy issues or other network issues. It's
not productive to halt everything and just dump these as exceptions to
the loggers. The error handler provides a more graceful approach to
these exceptions.
* Add a wrapper function around `add_roles` & `remove_roles` which
catches exceptions
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions