aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | | | | | | | | | | | | | * | | Jam Tests: Add more assertions to result message sending testGravatar ks1292020-06-11-1/+7
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | | Jam Tests: Make early exiting test more secureGravatar ks1292020-06-11-2/+6
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | | Jams: Convert some functions to staticmethodGravatar ks1292020-06-11-3/+6
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | | Jams: Move roles adding to another function from inside of commandGravatar ks1292020-06-11-8/+11
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | | Jams: Change return plain text to channel mention in `create_channels`Gravatar ks1292020-06-11-1/+1
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | | Jams: Move channels creation to new function instead inside commandGravatar ks1292020-06-11-19/+26
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | | Jams: Move overwrites generation to outside of commandGravatar ks1292020-06-11-22/+28
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | | Jams: Move category checking and creation to another functionGravatar ks1292020-06-11-16/+22
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | | Jam Tests: Use class member of patch instead decorator on most of testsGravatar ks1292020-06-11-21/+19
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | | Jam Tests: Fix `test_result_sending` docstringGravatar ks1292020-06-11-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Mark <[email protected]>
| | | | | | | | | | | | | | * | | Jam Tests: Create test for `setup` functionGravatar ks1292020-06-11-1/+11
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | | Jam Tests: Create test for successful `ctx.send` callingGravatar ks1292020-06-11-0/+6
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | | Jam Tests: Create test for team jam roles addingGravatar ks1292020-06-11-0/+14
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | | Jam Tests: Create test for team voice channel creatingGravatar ks1292020-06-11-0/+12
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | | Jam Tests: Make text channel creation test more specificGravatar ks1292020-06-11-1/+8
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | | Jam Tests: Created test for channel overwritesGravatar ks1292020-06-11-0/+24
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | | Jam Tests: Created test for creating text channel for teamGravatar ks1292020-06-11-0/+5
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | | Jam Tests: Created test that make sure when category exist, don't createGravatar ks1292020-06-11-0/+8
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | | Jam Tests: Added utils.get assert to category creating testGravatar ks1292020-06-11-0/+1
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | | Jam Tests: Created test for category creating when not existGravatar ks1292020-06-11-2/+14
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | | Jam Tests: Created tests for removing duplicate team membersGravatar ks1292020-06-11-0/+9
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | | Jam Tests: Created tests for case when too small amount of members givenGravatar ks1292020-06-11-1/+17
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | | Jam Tests: Created base test layoutGravatar ks1292020-06-11-0/+14
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | * | Handle message unpinning betterGravatar ks1292020-07-28-2/+5
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | * | Fix commentGravatar Dennis Pham2020-07-11-1/+1
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | * | Merge branch 'master' into help-channels-pinGravatar Dennis Pham2020-07-11-166/+408
| | | | | | | | | | | | | | | |\ \
| | | | | | | | | | | | | | | * | | Help Channels: Simplify unpinningGravatar ks1292020-07-08-13/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove complex None checking message fetching and replace it with `bot.http.unpin_message` and catch exception when message don't exist.
| | | | | | | | | | | | | | | * | | Merge branch 'master' into help-channels-pinGravatar Joseph Banks2020-07-06-1/+1
| | | | | | | | | | | | | | | |\ \ \
| | | | | | | | | | | | | | | * | | | Help System: Implement question message pinningGravatar ks1292020-07-02-0/+28
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * Move function params to 4-space indentation.Gravatar Leon Sandøy2020-08-03-18/+18
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * Change some errant single quotes to doubles.Gravatar Leon Sandøy2020-08-03-4/+4
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * Adding a beautiful walrus to filter_lists.py.Gravatar Leon Sandøy2020-08-03-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thanks @Den4200!
| | | | | | | | | | | | | | | | | | * Sort all load_extension groups alphabetically.Gravatar Leon Sandøy2020-08-03-5/+4
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * Add more explicit feedback to failures.Gravatar Leon Sandøy2020-07-30-7/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For deleting and listing data, we now get some more feedback when things fail.
| | | | | | | | | | | | | | | | | | * Dynamically amend types to filterlist docstrings.Gravatar Leon Sandøy2020-07-29-5/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We want the !help invocations to give you all the information you need in order to use the command. That also means we need to provide the valid filterlist types, which are subject to change. So, we fetch the valid ones from the API and then dynamically insert them into the docstrings.
| | | | | | | | | | | | | | | | | | * Make sure file formats have leading dots.Gravatar Leon Sandøy2020-07-29-0/+8
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * Apply suggested change from @MarkKoz.Gravatar Leon Sandøy2020-07-29-4/+1
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * Fix broken antimalware tests.Gravatar Leon Sandøy2020-07-29-1/+1
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * We search for an invite instead of matching one.Gravatar Leon Sandøy2020-07-29-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This means we can validate invites that start with https://, whereas before we could not.
| | | | | | | | | | | | | | | | | | * word_watchlist -> filter_token in filtering.py.Gravatar Leon Sandøy2020-07-29-2/+2
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * Restructure bot.filter_list_cache.Gravatar Leon Sandøy2020-07-29-21/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an optimization designed to eliminate all the list comprehensions we were doing inside antimalware and filtering. The cache is now structured so that the content is the key and the metadata is the value.
| | | | | | | | | | | | | | | | | | * Fix a bad type annotation.Gravatar Leon Sandøy2020-07-29-2/+2
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * Fix imports in converters.pyGravatar Leon Sandøy2020-07-29-5/+6
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * Refactor filtering: use non-compiled expressions.Gravatar Leon Sandøy2020-07-29-10/+6
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * Make a helper for validating guild invites.Gravatar Leon Sandøy2020-07-29-16/+18
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * Make a helper for inserting filter lists.Gravatar Leon Sandøy2020-07-29-21/+16
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * Kaizen - group private methods together.Gravatar Leon Sandøy2020-07-29-43/+43
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * Use a defaultdict(list) for filter_list_cache.Gravatar Leon Sandøy2020-07-29-6/+7
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * Expect status 400 for duplicates.Gravatar Leon Sandøy2020-07-29-2/+2
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * Bump flake8 version to 3.8Gravatar Leon Sandøy2020-07-27-173/+191
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is necessary to support walrus operators.