Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | 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 | |
| | ||||
* | fix wrong type hint of the rules function return value | 2022-09-19 | -2/+2 | |
| | ||||
* | add test that checks for the sent content if one invalid index is present in ↵ | 2022-09-19 | -0/+46 | |
| | | | | the input | |||
* | return final list of rule numbers to be sent | 2022-09-19 | -2/+4 | |
| | ||||
* | sort the list of final rule numbers | 2022-09-19 | -1/+1 | |
| | ||||
* | determine final_rule_numbers value by subscribing to the ↵ | 2022-09-18 | -9/+2 | |
| | | | | keyword_to_rule_number using the matched keywords | |||
* | subscribe directly to the keyword_to_rule_number dict instead of using .get | 2022-09-18 | -1/+2 | |
| | ||||
* | remove redundant use of list transformation when sorting final rule numbers | 2022-09-18 | -1/+1 | |
| | ||||
* | replace the keywords set with a dict that maps each keyword to its rule number | 2022-09-18 | -8/+6 | |
| | ||||
* | enumerate full_rules with a start index of 1 | 2022-09-18 | -2/+2 | |
| | ||||
* | remove useless initial sorting of keywords | 2022-09-18 | -2/+0 | |
| | ||||
* | remove duplicate final rule numbers then sort | 2022-09-18 | -1/+1 | |
| | ||||
* | remove unreachable code | 2022-09-18 | -8/+0 | |
| | ||||
* | rename pick to rule_number | 2022-09-18 | -2/+2 | |
| | ||||
* | rename index to rule_number | 2022-09-18 | -1/+3 | |
| | ||||
* | stop matching keywords when they're invalid upon triaging the rule numbers & ↵ | 2022-09-18 | -19/+17 | |
| | | | | keywords | |||
* | stop matching as soon as an invalid kw is encountered | 2022-09-18 | -11/+22 | |
| | ||||
* | remove help message that displays the available keywords per rule | 2022-09-16 | -8/+2 | |
| | ||||
* | rename rules to rule_numbers | 2022-09-16 | -7/+7 | |
| | ||||
* | replace .isdigit predicate with a try except block | 2022-09-16 | -2/+2 | |
| | ||||
* | fix typo in docstrings | 2022-09-16 | -1/+1 | |
| | ||||
* | use the cached channels instead of fetching them with each command execution | 2022-09-16 | -4/+2 | |
| | ||||
* | Merge remote-tracking branch 'origin/2108-invoke-rule-command-with-keywords' ↵ | 2022-09-16 | -0/+0 | |
|\ | | | | | | | into 2108-invoke-rule-command-with-keywords | |||
| * | suggest adding a keyword in dev & meta channels | 2022-09-11 | -3/+6 | |
| | | ||||
| * | add missing blank line | 2022-09-11 | -0/+1 | |
| | | ||||
| * | accept keywords and rule numbers in any order | 2022-09-11 | -19/+39 | |
| | | ||||
| * | send the "no-match" error message in pure text format | 2022-09-08 | -5/+2 | |
| | | ||||
| * | send the list of pre-defined keywords along with each invoked rule | 2022-09-08 | -2/+7 | |
| | | ||||
| * | add support for keywords when using the "rules" command. | 2022-08-19 | -4/+18 | |
| | | | | | | | | This doesn't change the way the rules command originally worked and keeps the priority to rule numbers. But in case a number (or numbers) is not supplied, it will try to find a rule that maps to a the supplied keyword. | |||
| * | fix "isistance" typo | 2022-08-19 | -1/+1 | |
| | | ||||
* | | suggest adding a keyword in dev & meta channels | 2022-09-16 | -3/+6 | |
| | | ||||
* | | add missing blank line | 2022-09-16 | -0/+1 | |
| | | ||||
* | | accept keywords and rule numbers in any order | 2022-09-16 | -19/+39 | |
| | | ||||
* | | send the "no-match" error message in pure text format | 2022-09-16 | -5/+2 | |
| | | ||||
* | | send the list of pre-defined keywords along with each invoked rule | 2022-09-16 | -2/+7 | |
| | | ||||
* | | add support for keywords when using the "rules" command. | 2022-09-16 | -4/+18 | |
| | | | | | | | | This doesn't change the way the rules command originally worked and keeps the priority to rule numbers. But in case a number (or numbers) is not supplied, it will try to find a rule that maps to a the supplied keyword. | |||
* | | fix "isistance" typo | 2022-09-16 | -1/+1 | |
| | | ||||
* | | Merge pull request #2268 from python-discord/pin-poetry-to-1.1.X | 2022-09-13 | -72/+22 | |
|\ \ | ||||
| * | | Don't use fake in-project venvs for poetry | 2022-09-12 | -21/+13 | |
| | | | | | | | | | | | | Instead let poetry install the venv for the project in the right place, leading to a more 'traditional' poetry setup. | |||
| * | | Bump poetry in Docker and lint to 1.2.0 | 2022-09-11 | -1/+1 | |
| | | | ||||
| * | | Use HassanAbouelela/setup-python for CI | 2022-09-11 | -57/+5 | |
| | | | ||||
| * | | Use venvs with poetry in Dockerfile | 2022-09-10 | -6/+16 | |
|/ / | | | | | | | This is required due to a regression in poetry, see https://github.com/HassanAbouelela/actions/pull/7 | |||
* | | Merge pull request #2234 from python-discord/infraction-durations | 2022-08-19 | -59/+133 | |
|\ \ | | | | | | | Fixes infraction display duration off-by-one discrepancy | |||
| * \ | Merge branch 'main' into infraction-durations | 2022-08-19 | -33/+186 | |
| |\ \ | |/ / |/| | | ||||
* | | | Merge pull request #2260 from Dorukyum/channel.guild-nullable | 2022-08-19 | -1/+1 | |
|\ \ \ | ||||
| * \ \ | Merge branch 'main' into channel.guild-nullable | 2022-08-19 | -12/+124 | |
| |\ \ \ | |/ / / |/| | | | ||||
* | | | | fix: don't include replied mentions in mention filter (#2017) | 2022-08-18 | -12/+124 | |
| | | | | | | | | | | | | | | | | | | | | Co-authored-by: Izan <[email protected]> Co-authored-by: TizzySaurus <[email protected]> Co-authored-by: Xithrius <[email protected]> | |||
| * | | | Check if channel.guild is None | 2022-08-18 | -1/+1 | |
|/ / / | ||||
* | | | Merge pull request #2031 from python-discord/incident-archive-msg-improvements | 2022-08-18 | -19/+53 | |
|\ \ \ | | | | | | | | | Incident archive msg improvements |