| Commit message (Collapse) | Author | Lines |
|
|
|
In quite a few places, such as #roles, we tell users to run the unsubscribe command to remove roles from them. However, this command no longer exists due to the rework of the subscribe command.
Since the subscribe commands allows tyou to remove as well as add roles, I have added this as an alias.
|
|
|
|
Validation relies on the cache which might not be properly filled. This can cause reminders to be sent for users who are no longer in the server, which seems negligible.
|
|
|
|
|
|
|
|
This new field is true when the user has any voice exception, which means the user is blocked from receiving the role.
|
|
Update docstring
|
|
|
|
This is caused by an upstream issue with setuptools 60.* (via virtualenv) changeing the default to using the setuptools-embedded distutils rather than the stdlib distutils, which breaks within pip's isolated builds.
This is explained quite well here https://github.com/pre-commit/pre-commit/issues/2178#issuecomment-1002163763
|
|
Fixes an issue caused by #1951.
|
|
These stub commands are useful for moderators during the change over from voice_ban to voice_mute, to remind moderators that the command has been changed now.
|
|
This changes all functions that reference voice_ban to voice_mute instead, which comes with breaking front-end changes.
These front end changes are desirable, so that moderators get used to use voice_mute now, rather than voice_ban, in preparation for when we roll out real voice_bans.
|
|
This commit changes all of the back-end so that it is in line with the new site API (see this PR https://github.com/python-discord/site/pull/608).
This comes with no changes to commands, or functions definitions.
|
|
|
|
|
|
Fix format from `[link](text)` to `[text](link)` so that the link will
be formatted as it should be.
|
|
|
|
|
|
|
|
They're equivalent for UTC. Get rid of the extra import.
|
|
|
|
This moves the regex closer to the place actually using the regex, and removes the need for a regex.py file entirely.
|
|
|
|
|
|
|
|
|
|
Not doing so could cause an error where get_channel would return none for the mod logs channel.
|
|
- Add infraction id to infraction edit modlog
- Add missing colon in "infraction applied" message
- Utilise defined infraction id variable instead of indexing dict again
|
|
Co-authored-by: Xithrius <[email protected]>
|