aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | | * | | | | | | | | | `Unnominate reason` to `Unnomination reason`Gravatar Xithrius2021-09-03-1/+1
| | | | | | | | | | | | |
| | | * | | | | | | | | | Add an extra alias to unnominateGravatar Chris Lovering2021-09-01-1/+1
| | | | | | | | | | | | |
| | | * | | | | | | | | | Fix spelling of a TalentPool command nameGravatar Chris Lovering2021-08-30-1/+1
| | | | | | | | | | | | |
| | | * | | | | | | | | | Rename list nominated user command for clarityGravatar Chris Lovering2021-08-30-2/+2
| | | | | | | | | | | | |
| | | * | | | | | | | | | use global logger in talent pool, over a self var that has been deletedGravatar Chris Lovering2021-08-30-1/+1
| | | | | | | | | | | | |
| | | * | | | | | | | | | Add back missing default params for TalentPool cogGravatar Chris Lovering2021-08-30-0/+1
| | | | | | | | | | | | |
| | | * | | | | | | | | | Update unnominate message to remove reference to relaying messages.Gravatar Chris Lovering2021-08-30-1/+1
| | | | | | | | | | | | |
| | | * | | | | | | | | | Update api endpoint name in talent pool reviewGravatar Chris Lovering2021-08-30-1/+1
| | | | | | | | | | | | |
| | | * | | | | | | | | | Merge branch 'main' into ks123/goodbye-talentpool-channelGravatar Chris Lovering2021-08-30-2/+4
| | | |\ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / / / |/| | | | | | | | | | | |
* | | | | | | | | | | | | Merge pull request #1791 from python-discord/dmrelay-mod-channelGravatar Xithrius2021-08-30-2/+4
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / / / / |/| | | | | | | | | | | | Allow dmrelay to only be used in mod channels.
| * | | | | | | | | | | | Merge branch 'main' into dmrelay-mod-channelGravatar ChrisJL2021-08-30-35/+74
| |\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / |/| | | | | | | | | | | |
| * | | | | | | | | | | | Allow dmrelay to only be used in mod channels.Gravatar Qwerty-1332021-08-30-2/+4
| | |/ / / / / / / / / / | |/| | | | | | | | | |
| | | * | | | | | | | | Update comment to reference the new TalentPool cache nameGravatar Chris Lovering2021-08-30-3/+3
| | | | | | | | | | | |
| | | * | | | | | | | | Remove code that is no longer hitGravatar Chris Lovering2021-08-30-4/+0
| | | | | | | | | | | |
| | | * | | | | | | | | Change all references to watch to nominate insteadGravatar Chris Lovering2021-08-30-17/+25
| | | | | | | | | | | |
| | | * | | | | | | | | Merge branch 'main' into ks123/goodbye-talentpool-channelGravatar Chris Lovering2021-08-30-1746/+3918
| | | |\ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / / |/| | | | | | | | | | |
* | | | | | | | | | | | Remove the json argument from the raw command. (#1792)Gravatar Qwerty-1332021-08-30-6/+14
| | | | | | | | | | | |
* | | | | | | | | | | | Merge pull request #1790 from python-discord/restrictive-infra-commandsGravatar ChrisJL2021-08-30-29/+60
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| | | | | | | | | | | Prevent the usage of names and nicknames when issuing infractions.
| * | | | | | | | | | | Add more clarity to docstringsGravatar Qwerty-1332021-08-29-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clarify what Discord usernames are and the usage of the word "ambiguity".
| * | | | | | | | | | | Make the helper function more readableGravatar Qwerty-1332021-08-29-8/+4
| | | | | | | | | | | |
| * | | | | | | | | | | Use unambiguous converters for infraction commandsGravatar Qwerty-1332021-08-29-15/+16
| | | | | | | | | | | |
| * | | | | | | | | | | Fix mismatches in parameter names and docstringsGravatar Qwerty-1332021-08-29-2/+2
| | | | | | | | | | | |
| * | | | | | | | | | | Add the UnambiguousMember converterGravatar Qwerty-1332021-08-29-3/+23
| | | | | | | | | | | |
| * | | | | | | | | | | Replace UserMentionOrID with UnambiguousUserGravatar Qwerty-1332021-08-29-12/+26
|/ / / / / / / / / / /
| | * | | | | | | | | Switched back to default value getting.Gravatar Xithrius2021-06-12-4/+4
| | | | | | | | | | |
| | * | | | | | | | | Merge branch 'main' into ks123/goodbye-talentpool-channelGravatar Xithrius2021-06-04-0/+0
| | |\ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ Merge branch 'main' into ks123/goodbye-talentpool-channelGravatar Xithrius2021-06-04-3427/+6634
| | |\ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | Remove talentpool channel constantsGravatar ks1292021-03-28-5/+0
| | | | | | | | | | | | |
| | * | | | | | | | | | | Migrate nomination reasons editing commandsGravatar ks1292021-03-28-10/+10
| | | | | | | | | | | | |
| | * | | | | | | | | | | Add missing asterisk to nominees listGravatar ks1292021-03-28-1/+1
| | | | | | | | | | | | |
| | * | | | | | | | | | | Migrate unnominate command to non-watchchannelGravatar ks1292021-03-28-6/+6
| | | | | | | | | | | | |
| | * | | | | | | | | | | Migrate Talent Pool Reviewer class to non-watchchannel Talent PoolGravatar ks1292021-03-28-10/+10
| | | | | | | | | | | | |
| | * | | | | | | | | | | Migrate nominations history command to non-watchchannel systemGravatar ks1292021-03-28-1/+1
| | | | | | | | | | | | |
| | * | | | | | | | | | | Use more accurate command names and docstring for talent pool commandsGravatar ks1292021-03-28-14/+13
| | | | | | | | | | | | |
| | * | | | | | | | | | | Remove WatchChannel parent of TalentPool and migrate first commandsGravatar ks1292021-03-28-28/+52
| | | | | | | | | | | | |
| | | | | * | | | | | | | Refactor & simplifiy domain filter checkGravatar Chris Lovering2021-09-06-8/+3
| | | | | | | | | | | | |
| | | | | * | | | | | | | Only check URL-like objects against domain filtersGravatar Chris Lovering2021-08-28-4/+5
| |_|_|_|/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously a message such as 'https://google.com hello! flask.request.method' would be filtered due to us filtering the url shortener t.me. This commit changes to logic so that we only check parts of the messages that matched the URL regex against our blacklist, to avoid these false-positives.
| | | | | * | | | | | | Indentation, type-hint, and documentation fixesGravatar mbaruh2021-09-20-31/+32
| | | | | | | | | | | |
| | | | | * | | | | | | End clean on unexpected errorsGravatar mbaruh2021-09-11-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added a cog_command_error method that sets cleaning to False when a command ends on an exception. I don't have anything in mind that might cause this, but it will ensure that in any case the cog will still be usable.
| | | | | * | | | | | | Handle Regex converter errorsGravatar mbaruh2021-09-11-8/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handle cases where there are no enclosing backticks, and where the regex pattern is invalid.
| | | | | * | | | | | | Fix incorrect cache usageGravatar mbaruh2021-09-08-1/+1
| | | | | | | | | | | |
| | | | | * | | | | | | Switch `users` and `traverse` in main commandGravatar mbaruh2021-09-08-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When providing a user ID it would clash with `traverse` which came first.
| | | | | * | | | | | | Fix delete orderGravatar mbaruh2021-09-07-9/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In case of old messages, it would delete the old messages first, and only then bulk delete the remainder, which affected logging. This commit corrects the deletion order.
| | | | | * | | | | | | Improve responsesGravatar mbaruh2021-09-07-22/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Tells the user if clean cancel was attempted with no ongoing clean. - Fixes MaxConcurrencyReached call bug. There was a missing argument, and it shouldn't invoke the help embed anyway, so it's now a message. - Some code refactoring.
| | | | | * | | | | | | Fix regex searchGravatar mbaruh2021-09-07-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The regex was lowercased, even though regex patterns are case sensitive. Also adds the DOTALL flag.
| | | | | * | | | | | | Code and comments polishGravatar mbaruh2021-09-07-25/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Shivansh-007 <[email protected]>
| | | | | * | | | | | | Changed regex formatting to wrapped in backticksGravatar mbaruh2021-08-31-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After discussion, backticks seems like the preferrable formatting as it also cancels Discord's formatting. Additionally removed the Optionals from the last args in the commands, to not silently ignore incorrect input.
| | | | | * | | | | | | Disallow time range cleaning in multiple channelsGravatar mbaruh2021-08-31-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cleaning in the same time range across several channels seems like an arbitrary decision.
| | | | | * | | | | | | Added master commandGravatar mbaruh2021-08-29-74/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The subcommands are kept simple and with few arguments, as they deal with most cases and their usage shouldn't be cumbersome. However we might to clean by criteria of several functionalities offered by the subcommands, for example delete a specific user's messages but only those that contain a certain pattern. For this reason the top-level command can now accept all arguments available in any of the subcommands, and will combine the criteria. Because the channels list has to be the last argument in order to accept either a list of channel or "*", I had to force a specific pattern in the regex argument for it to not consume the first channel specified. The regex argument must now have an "r" prefix and be enclosed in single quotes. For example: r'\d+'. For patterns with spaces the whole thing still needs to be enclosed in double quotes. For consistency the `clean regex` subcommand was changed to require the same.
| | | | | * | | | | | | Handle reacted message being deletedGravatar mbaruh2021-08-29-1/+3
| | | | | | | | | | | |