| Commit message (Collapse) | Author | Lines |
|
|
|
|
|
|
|
People are more familiar with the "close" alias than its actual name,
"dormant". "close" also feels more natural.
|
|
|
|
|
|
A NotFound error can be misleading since it may apply to the member or
the role. The log message was not simply updated because each of the
scenarios need to have different log levels: missing members is a normal
thing but an invalid role is not.
|
|
This will allow `_change_cooldown_role` to handle the role argument
rather than putting that burden on the callers.
|
|
* Remove obsolete log message
* Shorten a log message which was the only line in the entire module
over 100 characters
|
|
|
|
anyone but the claimant
|
|
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
|
|
Resetting permissions relied on getting the member from the cache, but
the member was already removed from the cache prior to resetting the
role. Now the member is passed directly rather than relying on the
cache.
|
|
Users should know they can close their own channels.
|
|
|
|
Overwrites had issues syncing with channels in the category.
* Remove update_category_permissions; obsolete
* Add constant for the cooldown role wrapped in a discord.Object
|
|
Claimants will have a special role that needs to be removed rather than
using member overwrites for the category.
|
|
|
|
|
|
|
|
Co-Authored-By: kwzrd <[email protected]>
|
|
Co-Authored-By: Shirayuki Nekomata <[email protected]>
|
|
Co-Authored-By: Shirayuki Nekomata <[email protected]>
|
|
We want our members to use the paste site to share text-based files instead of them sharing the files as attachments on Discord. As `.md`, a file extensions used for plain-text files with markdown formatting, is such a text file, I've removed it from the anti-malware whitelist.
|