| Commit message (Collapse) | Author | Age | Lines |
| |
|
|
| |
Quite often we want threads such as event discussions, or moderation discussions to live beyond their maximum of 1 week of auto-archival. This cog allows staff to add a thread to a list that will get 'bumped' back open by the bot when they are auto-archived
|
| |\
| |
| | |
Remove auto joining of new threads.
|
| | |\
| |/
|/| |
|
| |\ \
| | |
| | | |
Add user ID to message content for all mod alerts
|
| |/ /
| |
| |
| |
| | |
This is a temporary quality of life improvement until filters rewrite.
Largely benefits mobile moderators who cannot copy from embeds.
|
| |/ |
|
| | |
|
| |\
| |
| | |
Use custom clean cog when purge banning
|
| | |
| |
| |
| | |
Co-authored-by: GDWR <[email protected]>
|
| | |
| |
| |
| | |
Co-authored-by: GDWR <[email protected]>
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This migrates the purgeban command away from Discord's native purgeban to our custom logic.
Discord's native purgeban does not leave us with any evidence or context of what messages were deleted. So when mods reference the infraction at a later date they are lacking information.
Instead, we use our custom clean cog to delete all messages from the user in question for the last hour, and automatically append the link to the clean log to the infraction reason.
.
|
| | | |
|
| | | |
|
| |/
|
|
| |
If done outside a mod channel, it instead tags the invoker in #mods.
|
| | |
|
| | |
|
| | |
|
| |\
| |
| | |
Remove Coveralls completely
|
| | |\
| |/
|/| |
|
| | | |
|
| |\ \
| | |
| | | |
Add unsubscribe alias to subscribe command
|
| |/ /
| |
| |
| |
| | |
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.
|
| |\ \
| | |
| | | |
Don't validate reminder author
|
| | |\ \
| |/ /
|/| | |
|
| | | | |
|
| |/ /
| |
| |
| | |
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.
|
| | | |
|
| |/ |
|
| |\
| |
| | |
Add reported message author's profile picture to unfurl embed
|
| |/ |
|
| |\
| |
| | |
Use `voice_gate_blocked` field from API for voice_gate
|
| |/
|
|
| |
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.
|
| | |
|
| |\
| |
| | |
Refactor time utilities
|
| | |\
| |/
|/| |
|
| |\ \
| | |
| | | |
Add bot-core as a dependency
|