| Commit message (Collapse) | Author | Age | Lines | |
|---|---|---|---|---|
| * | Merge branch 'main' into new-filters | 2023-02-28 | -48/+80 | |
| |\ | ||||
| | * | add the `flags` key to the member_data dictionary | 2023-02-28 | -1/+1 | |
| | | | | | | | | | | | The value 2 represents the `COMPLETED_ONBOARDING` flag, found here https://discord.com/developers/docs/resources/guild#guild-member-object-guild-member-flags | |||
| | * | Merge branch 'main' into migration/tag | 2023-02-27 | -3/+3 | |
| | |\ | ||||
| | | * | Fix timeit commands with backticks after command name | 2023-02-25 | -3/+3 | |
| | | | | ||||
| | * | | Implement reviews | 2023-02-26 | -5/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | + used both `discord.User` and `discord.Member` in typehinting as `InteractionResponse.user` returns `discord.User` object + removed `ErrorHandler()._can_run` + edited `try_get_tag` to use `bot.can_run` + removed `/tag list` + change `/tag get <name>` to `/tag <name>` + remove redundant `GUILD_ID` in `tags.py` + using `discord.abc.Messageable` because `ctx.channel` returns that instead of `Channel` Object | |||
| | * | | Implement all reviews | 2023-02-23 | -26/+35 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | + Remove commented code + Remove unecessarily syncting the bot + Handle direct tag commads + 3.10 type hinting in concerned functions + Add `MockInteractionMessage` + Fix tests for `try_get_tag` | |||
| | * | | Update tests for `/tag` as of migration to slash commands | 2023-02-14 | -22/+42 | |
| | |/ | ||||
| | * | Update botcore module name | 2022-11-26 | -7/+7 | |
| | | | ||||
| | * | Merge branch 'main' into 2306-nominations-cleanup | 2022-11-05 | -13/+13 | |
| | |\ | ||||
| | | * | Reverse changes to invalid arg break | 2022-10-25 | -3/+4 | |
| | | | | ||||
| | | * | Update tests to work with rules arg fix | 2022-10-25 | -4/+3 | |
| | | | | ||||
| | | * | Update tests for new single string format | 2022-10-25 | -12/+12 | |
| | | | | ||||
| | | * | Added new star expression fix | 2022-10-25 | -3/+3 | |
| | | | | ||||
| | | * | Made arg fix compatible with tests | 2022-10-25 | -3/+3 | |
| | | | | ||||
| | * | | Fix tests | 2022-10-22 | -19/+22 | |
| | | | | ||||
| * | | | Bring back old system tests | 2023-01-22 | -11/+484 | |
| | | | | ||||
| * | | | Add the rest of the antispam rules | 2022-11-01 | -3/+3 | |
| | | | | | | | | | | | | | | | | This is mostly a copy-paste of the implementations in the old system into the new system's structure. The mentions rule required changing the `triggers_on` method to async. | |||
| * | | | Merge branch 'main' into new-filters | 2022-10-23 | -6/+270 | |
| |\ \ \ | | |/ | |/| | ||||
| | * | | Move Security cog to backend extension | 2022-10-22 | -1/+1 | |
| | |/ | ||||
| | * | Merge branch 'main' into update-autoreview-system | 2022-10-19 | -4/+93 | |
| | |\ | ||||
| | | * | Use explicit mock channels in tests to remove warning | 2022-10-10 | -2/+11 | |
| | | | | | | | | | | | | | | | | | | | This is need due to the new behaviour of discord.utils.get supporting both iterables and async iterables by checking for the presence of the __aiter__ attr on the iterable. GuildChannelConverter._resolve_channel uses this get util under the hood which grabs the voice channels on the guild, which were previously Mocked by the MagicMock, meaning the __aiter__ attr was present, causing the util to think it should be ran asynchronously. | |||
| | * | | Use scoring system that weights age and number of entries | 2022-10-09 | -4/+54 | |
| | | | | | | | | | | | | | Added new tests for this behaviour, and added pytest-subtests dev dependency | |||
| | * | | Move tests out of moderation/ directory | 2022-10-09 | -0/+0 | |
| | | | | | | | | | | | | | I didn't mean to put them there in the first place | |||
| | * | | Rename test function and re-add change removed in merge. | 2022-09-19 | -2/+2 | |
| | | | | ||||
| | * | | Merge branch 'main' into update-autoreview-system | 2022-09-19 | -187/+268 | |
| | |\ \ | ||||
| | * | | | Fix tests | 2022-08-07 | -3/+2 | |
| | | | | | ||||
| | * | | | Write tests for reviewer | 2022-08-07 | -0/+153 | |
| | | | | | ||||
| * | | | | Fix tests | 2022-10-01 | -279/+42 | |
| | | | | | ||||
| * | | | | Split actions and validations to their own packcages | 2022-09-30 | -4/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | This is a purely aesthetic choice. Additionally fixes a small bug where a missing entry type would repeatedly invoke a warning on cog load. | |||
| * | | | | Merge branch 'main' into new-filters | 2022-09-24 | -217/+477 | |
| |\ \ \ \ | | |_|/ | |/| | | ||||
| | * | | | Merge branch 'main' into 2108-invoke-rule-command-with-keywords | 2022-09-20 | -14/+26 | |
| | |\ \ \ | ||||
| | | * \ \ | Merge branch 'main' into main | 2022-09-18 | -46/+155 | |
| | | |\ \ \ | | | | |/ | | | |/| | ||||
| | | | * | | Merge branch 'main' into fix-not-awaited-coroutine-warning | 2022-09-18 | -174/+249 | |
| | | | |\ \ | ||||
| | | | | * | | Removed "redis_ready" from additional_spec_asyncs in MockBot (#2275) | 2022-09-16 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | The attribute was removed from Bot in fc05849 | |||
| | | | * | | | Fix tests | 2022-08-04 | -12/+18 | |
| | | | | |/ | | | |/| | ||||
| | | * | | | add: test for reasoned and reasonless pardons | 2022-08-17 | -1/+7 | |
| | | | | | | ||||
| | * | | | | move DEFAULT_RULES_DESCRIPTION under information.py | 2022-09-20 | -2/+1 | |
| | | | | | | ||||
| | * | | | | use subTest to isolate assertions | 2022-09-19 | -14/+17 | |
| | | | | | | ||||
| | * | | | | add DEFAULT_RULES_DESCRIPTION to avoid duplication | 2022-09-19 | -7/+2 | |
| | | | | | | ||||
| | * | | | | fix redundant test name | 2022-09-19 | -1/+1 | |
| | | | | | | ||||
| | * | | | | test the cases where default rules message is supposed to be sent | 2022-09-19 | -0/+31 | |
| | | | | | | ||||
| | * | | | | add test that checks for the sent content if one invalid index is present in ↵ | 2022-09-19 | -0/+46 | |
| | | | | | | | | | | | | | | | | | | | | | the input | |||
| | * | | | | fix "isistance" typo | 2022-09-16 | -1/+1 | |
| | | |_|/ | |/| | | ||||
| | * | | | Merge branch 'main' into infraction-durations | 2022-08-19 | -18/+111 | |
| | |\ \ \ | ||||
| | | * | | | fix: don't include replied mentions in mention filter (#2017) | 2022-08-18 | -5/+75 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Izan <[email protected]> Co-authored-by: TizzySaurus <[email protected]> Co-authored-by: Xithrius <[email protected]> | |||
| | | * | | | Merge branch 'main' into incident-archive-msg-improvements | 2022-08-18 | -42/+37 | |
| | | |\| | | ||||
| | | * | | | Fix incident tests. | 2022-08-15 | -13/+25 | |
| | | | | | | ||||
| | | * | | | Merge branch 'main' into incident-archive-msg-improvements | 2022-08-14 | -447/+603 | |
| | | |\ \ \ | ||||
| | | * | | | | Address Reviews | 2022-07-14 | -3/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use the more concise DATETIME timestamp instead of both a DATE and a TIME timestamp. - Remove underline from the "Reported ..." section at the bottom of the embed. - Re-add time of action/rejection timestamp to footer of embed. | |||
| | | * | | | | Fix tests | 2022-01-01 | -6/+18 | |
| | | | | | | | ||||