aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * | | | | | | | | | | | Add tests for new CleanBan and Clean functionalityGravatar Chris Lovering2022-02-16-1/+193
| | | | | | | | | | | | |
| * | | | | | | | | | | | Don't append clean log if no clean was done from purge banGravatar Chris Lovering2022-02-16-0/+3
| | | | | | | | | | | | |
| * | | | | | | | | | | | Add more aliases to purgebanGravatar Chris Lovering2022-02-16-2/+2
| | | | | | | | | | | | |
| * | | | | | | | | | | | Change purgeban to use custom clean logicGravatar Chris Lovering2022-02-16-17/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. .
| * | | | | | | | | | | | Update respect_role_hierarchy decorator to pass through return valuesGravatar Chris Lovering2022-02-16-4/+3
| | | | | | | | | | | | |
| * | | | | | | | | | | | Support not deleting invoking message of a clean taskGravatar Chris Lovering2022-02-16-2/+4
| | | | | | | | | | | | |
| * | | | | | | | | | | | Reply with log url after cleaning messagesGravatar Chris Lovering2022-02-16-12/+25
|/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If done outside a mod channel, it instead tags the invoker in #mods.
* | | | | | | | | / / / Fix: `!raw` can now be used in threads (#2090)Gravatar TizzySaurus2022-02-16-1/+1
| |_|_|_|_|_|_|_|/ / / |/| | | | | | | | | |
* | | | | | | | | | | Fix ignoring of raw DM edits (#2085)Gravatar TizzySaurus2022-02-14-0/+3
| |/ / / / / / / / / |/| | | | | | | | |
| | * | | | | | | | Clarify that a resent infraction DM is not a new infraction.Gravatar MarkKoz2021-07-15-1/+4
| | | | | | | | | |
| | * | | | | | | | Disallow resending hidden infractionsGravatar MarkKoz2021-07-15-0/+4
| | | | | | | | | |
| | * | | | | | | | Fix superstarify reason displaying the incorrect nicknameGravatar MarkKoz2021-07-15-11/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because the edit was happening before the reason string was formatted, the edit updated the state of the user object, causing the nickname to be the superstarified one rather than the one the user was attempting to use.
| | * | | | | | | | Add command to resend infraction embedGravatar MarkKoz2021-07-15-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolve #1664
| | * | | | | | | | Add util function to send an infraction using an Infraction dictGravatar MarkKoz2021-07-15-19/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There was some redundant pre-processing of arguments happening before calling `notify_infraction`.
| | * | | | | | | | Remove unnecessary config constantGravatar MarkKoz2021-07-15-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's only being used as an anchor in the YAML file. There is no need to have it in Python if no Python code references it.
| | | * | | | | | | chore: Simplify the permissions checking in duck pondsGravatar ToxicKidz2022-02-28-17/+3
| | | | | | | | | |
| | | * | | | | | | Use `discord.Guild.get_channel_or_thread()` instead of `discord.utils.get()`Gravatar Izan2022-02-17-1/+1
| | | | | | | | | |
| | | * | | | | | | Allow duckifying of messages in threadsGravatar Izan2022-02-14-5/+11
| |_|/ / / / / / / |/| | | | | | | |
* | | | | | | | | Removed extra newline in the traceback tag. (#2083)Gravatar Xithrius2022-02-13-1/+0
| | | | | | | | |
* | | | | | | | | Merge pull request #2075 from python-discord/coveralls-depGravatar Hassan Abouelela2022-02-13-34/+2
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Remove Coveralls completely
| * \ \ \ \ \ \ \ \ Merge branch 'main' into coveralls-depGravatar Xithrius2022-02-13-20/+17
| |\ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | |
* | | | | | | | | | Traceback tag: Emphasize reason for sharing traceback (#2072)Gravatar Steele Farnsworth2022-02-13-11/+9
| | | | | | | | | |
* | | | | | | | | | Merge pull request #2082 from python-discord/subscribe-aliasGravatar Hassan Abouelela2022-02-13-1/+1
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Add unsubscribe alias to subscribe command
| * | | | | | | | | | Add unsubscribe alias to subscribe commandGravatar ChrisJL2022-02-13-1/+1
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | | Merge pull request #2080 from python-discord/mbaruh/reminders-fixGravatar Joe Banks2022-02-11-0/+491
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Don't validate reminder author
| * \ \ \ \ \ \ \ \ \ Merge branch 'main' into mbaruh/reminders-fixGravatar mbaruh2022-02-11-0/+0
| |\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / |/| | | | | | | | | |
* | | | | | | | | | | Disable Reminders Cog (#2074)Gravatar Hassan Abouelela2022-02-09-492/+0
| | | | | | | | | | |
| * | | | | | | | | | Don't validate reminder authorGravatar mbaruh2022-02-07-8/+7
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | | | | | Remove Coveralls badge from readmeGravatar Ben Soyka2022-02-06-1/+0
| | | | | | | | | |
| * | | | | | | | | Remove Coveralls dev dependencyGravatar Ben Soyka2022-02-06-33/+2
|/ / / / / / / / /
* | | | | | | | | Merge pull request #2073 from minalike/incident-unfurl-embed-pfpGravatar D0rs4n2022-02-05-0/+1
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | Add reported message author's profile picture to unfurl embed
| * | | | | | | | Add reported message author's username and profile picture in embedGravatar minalike2022-02-05-0/+1
|/ / / / / / / /
| | | | | | * | 🚨 Remove unused importedGravatar GDWR2022-02-14-3/+1
| | | | | | | |
| | | | | | * | 👌 Run bad word check on all voice state updates.Gravatar GDWR2022-02-14-4/+3
| | | | | | | |
| | | | | | * | ♻️Remove `import discord` in favour of using `from discord`Gravatar GDWR2022-02-02-9/+10
| | | | | | | |
| | | | | | * | 💡 Correct docstring to explain functionalityGravatar GDWR2022-02-01-1/+1
| | | | | | | |
| | | | | | * | 🚨 Make docstring more conciseGravatar GDWR2022-02-01-2/+2
| | | | | | | |
| | | | | | * | 🚨 Reorder importsGravatar GDWR2022-02-01-1/+1
| | | | | | | |
| | | | | | * | ♻️Import errors from `discord` explicitlyGravatar GDWR2022-02-01-4/+4
| | | | | | | |
| | | | | | * | ✨ Check for bad username when user joins or switches voice channelGravatar GDWR2022-02-01-1/+7
| | | | | | | |
| | | | | | * | 🚸 Ping moderators when a bad username is detectedGravatar GDWR2022-02-01-1/+2
| |_|_|_|_|/ / |/| | | | | |
* | | | | | | Merge pull request #2064 from python-discord/fix-voice-gateGravatar Johannes Christ2022-01-27-2/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Use `voice_gate_blocked` field from API for voice_gate
| * | | | | | | Use `voice_gate_blocked` field from API for voice_gateGravatar Chris Lovering2022-01-27-2/+2
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | This new field is true when the user has any voice exception, which means the user is blocked from receiving the role.
* | | | | | | Add embed message mentioning help channel claimantGravatar minalike2022-01-27-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Update docstring
* | | | | | | Merge pull request #2052 from python-discord/voicemuteGravatar ChrisJL2022-01-27-75/+104
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | |
| * | | | | | Merge branch 'main' into voicemuteGravatar ChrisJL2022-01-27-3/+12
| |\ \ \ \ \ \ | |/ / / / / / |/| | | | | |
* | | | | | | Add missing restart-policy to metricity containerGravatar Chris Lovering2022-01-26-0/+1
| | | | | | |
* | | | | | | setuptools use stdlib distutils over embeddedGravatar Chris Lovering2022-01-26-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | Add missing arguments to `notify_infraction` callGravatar Izan2022-01-25-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes an issue caused by #1951.
* | | | | | | Merge pull request #2059 from novialriptide/novial-simple-renameGravatar Hassan Abouelela2022-01-26-1/+1
|\ \ \ \ \ \ \