aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
* | | | | | | | | | | | | | Add filter content processing before posting/patchingGravatar mbaruh2022-10-04-5/+89
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Handle invalid UI editsGravatar mbaruh2022-10-01-4/+8
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Prettify post/patch filter errorGravatar mbaruh2022-10-01-3/+21
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Show settings in sorted order in UIGravatar mbaruh2022-10-01-2/+2
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Add a warning if an added filter has content identicalto othersGravatar mbaruh2022-10-01-2/+15
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Bring back enabled categories, remove redundant validatorsGravatar mbaruh2022-10-01-26/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There needs to be a way to only enable a filter in a specific category, so this setting now fulfills that role. Disabled channels can be used to disable a filter in a specific channel within the category. Additionally the validators which maybe convert to int are now removed. As long as the int is the first in the Union, it will happen anyway.
* | | | | | | | | | | | | | Stress that a filter was triggered in DMGravatar mbaruh2022-10-01-1/+1
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Fix channel_scope checking IDs and names separatelyGravatar mbaruh2022-10-01-16/+9
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Fix patching removed overrideGravatar mbaruh2022-10-01-3/+9
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Correctly handle DMsGravatar mbaruh2022-10-01-2/+8
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Properly remove items from sequence editGravatar mbaruh2022-10-01-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some items might not be stored as strings.
* | | | | | | | | | | | | | Keep sequences as lists in editing UIGravatar mbaruh2022-10-01-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sequences such as sets are not serializable, and it's going to be converted to the right type when loaded to the cog anyway.
* | | | | | | | | | | | | | Use try-except instead of is_digit in bypass_rolesGravatar mbaruh2022-10-01-3/+4
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Correct loggingGravatar mbaruh2022-10-01-1/+1
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Fix testsGravatar mbaruh2022-10-01-281/+44
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Split actions and validations to their own packcagesGravatar mbaruh2022-09-30-12/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a purely aesthetic choice. Additionally fixes a small bug where a missing entry type would repeatedly invoke a warning on cog load.
* | | | | | | | | | | | | | Voice ban -> voice mute in auto-infractionsGravatar mbaruh2022-09-30-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a remnant after the last rebase.
* | | | | | | | | | | | | | Add filter delete commandGravatar mbaruh2022-09-30-0/+12
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Add filter edit commandGravatar mbaruh2022-09-30-19/+116
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Filter adding commands, simplify infractionGravatar mbaruh2022-09-29-122/+869
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds the mechanic to add new filters. The overrides of the settings can be provided in the command itself, but also through a UI made of Discord components. The UI adjusts itself to the data type of the setting, e.g a boolean setting will invoke a select with "True" and "False" options. This commit additionally gets rid of the mechanic to apply a superstar alongside another higher tier infraction for the same message. This is an edge case that isn't worth the complexity at the moment. Includes a small fix to the Ping setting which made the __or__ method malfunction.
* | | | | | | | | | | | | | Merge branch 'main' into new-filtersGravatar mbaruh2022-09-24-1116/+1895
|\| | | | | | | | | | | | |
| * | | | | | | | | | | | | Merge pull request #2232 from python-discord/bot-2231-enhancementsGravatar wookie1842022-09-21-16/+64
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add ability to delete multiple reminders at once & display mentions in `!remind list`.
| | * \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into bot-2231-enhancementsGravatar wookie1842022-09-21-313/+655
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / | |/| | | | | | | | | | | | |
| * | | | | | | | | | | | | | Merge #2261 - add support to fetch rules via keywordsGravatar Mark2022-09-20-20/+122
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into 2108-invoke-rule-command-with-keywordsGravatar Mark2022-09-20-97/+160
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / | |/| | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Moved `escape_markdown` after Truthy check (#2279)Gravatar Ionite2022-09-18-2/+3
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Merge pull request #2265 from JuaniBattiston/remove-unnecessary-loginGravatar ChrisJL2022-09-18-2/+0
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into remove-unnecessary-loginGravatar ChrisJL2022-09-18-152/+166
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Merge pull request #2259 from VirdanTheBurden/mainGravatar ChrisJL2022-09-18-11/+49
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | Merge branch 'main' into mainGravatar ChrisJL2022-09-18-236/+443
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Merge pull request #2242 from python-discord/fix-not-awaited-coroutine-warningGravatar ChrisJL2022-09-18-31/+52
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into fix-not-awaited-coroutine-warningGravatar ChrisJL2022-09-18-1716/+756
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Merge pull request #2273 from ↵Gravatar ChrisJL2022-09-18-1/+2
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | python-discord/fix-ensure-cached-claimant-none-check
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into fix-ensure-cached-claimant-none-checkGravatar ChrisJL2022-09-18-109/+63
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Merge pull request #2241 from python-discord/disable-pytest-nose-pluginGravatar ChrisJL2022-09-18-0/+6
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into disable-pytest-nose-pluginGravatar ChrisJL2022-09-18-1715/+748
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | Use Python Poetry Base Action (#2277)Gravatar Hassan Abouelela2022-09-17-21/+3
| | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | Removed italics from the help command (#2272)Gravatar Mohammad Ibrahim2022-09-17-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * removed asterisk from embed description * removed italics from line 334, 375 and 415 * pagination.py, L239 added italics
| * | | | | | | | | | | | | | | | | | | Merge pull request #2233 from python-discord/bot-2231-bugGravatar wookie1842022-09-16-26/+38
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow referencing message as argument to `!remind edit content`
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into bot-2231-bugGravatar wookie1842022-09-16-211/+392
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | Merge pull request #2276 from python-discord/ignore-mounted-project-venvsGravatar Joe Banks2022-09-16-2/+6
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into ignore-mounted-project-venvsGravatar Joe Banks2022-09-16-1/+1
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | Removed "redis_ready" from additional_spec_asyncs in MockBot (#2275)Gravatar Aleksey Zasorin2022-09-16-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The attribute was removed from Bot in fc05849
| | * | | | | | | | | | | | | | | | | | | | Specify the path for poetry venvsGravatar Chris Lovering2022-09-13-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this the venv would be created in /root/.cache and the nonn-root user that prod runs under would not have access to it.
| | * | | | | | | | | | | | | | | | | | | | Ignore mounted in-project venvs on startupGravatar Chris Lovering2022-09-13-1/+4
| |/ / / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Poetry's virtualenvs.in-project config deafults to None, meaning it will use in-project venvs if it finds one, otherwise it will use the cache dir. In dev we mount the entire root project directory to /bot. This means if the host's venv in in the project dir, this will get mounted and prioritised by poetry run. If the host is on a non-linux OS this will cause poetry to fail to boot.
| | * | | | | | | | | | | | | | | | | | | Merge remote-tracking branch 'origin/bot-2231-bug' into bot-2231-bugGravatar Izan2022-09-14-1476/+340
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into bot-2231-bugGravatar TizzySaurus2022-08-14-1476/+340
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | | | | | | | | | | Update docstrings & comment.Gravatar Izan2022-09-14-17/+8
| | |/ / / / / / / / / / / / / / / / / / / /
| | * | | | | | | | | | | | | | | | | | | | Make reference message in reminders italic.Gravatar Izan2022-08-06-1/+1
| | | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | | Allow referencing message as argument to `!remind edit content`Gravatar Izan2022-07-25-11/+32
| | | | | | | | | | | | | | | | | | | | | |