aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | | | | | | | | | * | | | check for the url existence in the final_urls setGravatar Amrou Bellalouna2022-09-28-1/+1
| | | | | | | | | | | | | |
| | | | | | | | | | * | | | collect all urls in a set to avoid duplicatesGravatar Amrou Bellalouna2022-09-28-2/+3
| | | | | | | | | | | | | |
| | | | | | | | | | * | | | transform urls matched in messagesGravatar Amrou Bellalouna2022-09-28-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We add the transformed urls to the set to account for the way discord renders relative urls in cases like Twitter's
| | | | | | | | | | * | | | add remove_subdomain_from_url in bot util helpersGravatar Amrou Bellalouna2022-09-28-0/+12
| |_|_|_|_|_|_|_|_|/ / / / |/| | | | | | | | | | | |
* | | | | | | | | | | | | 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
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | fix: data dictionary guarantees reason key existence if pardon reason existsGravatar Luna2022-08-19-0/+1
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | fix: remove chance of empty string overriding database infraction reasonGravatar Luna2022-08-18-1/+1
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | fix: lint (again)Gravatar Luna2022-08-18-3/+3
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | fix: add check to prevent NoneType from passing into str concatenationGravatar Luna2022-08-18-4/+8
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | change: make unban require pardon reasonGravatar Luna2022-08-18-7/+1
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | add: test for reasoned and reasonless pardonsGravatar Luna2022-08-17-1/+7
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | fix: trailing whitespaceGravatar Luna2022-08-17-1/+1
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Merge pull request #2 from VirdanTheBurden/feat-add-reason-argument-to-pardonsGravatar Luna Ilune Makyus2022-08-17-6/+7
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix: docstrings
| | * | | | | | | | | | | | | | | | fix: docstringsGravatar Luna2022-08-17-6/+7
| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Merge pull request #1 from VirdanTheBurden/feat-add-reason-argument-to-pardonsGravatar Luna Ilune Makyus2022-08-17-8/+40
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | feat: add reason argument to pardon commands
| | * | | | | | | | | | | | | | | | fix: lintGravatar Luna2022-08-17-5/+23
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | feat: add reason argument to pardon commandsGravatar Luna2022-08-17-10/+24
| |/ / / / / / / / / / / / / / / /
| | * | | | | | | | | | | | | | | Remove unnecessary logginGravatar Juan Ignacio Battiston2022-08-28-2/+0
| | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | move DEFAULT_RULES_DESCRIPTION under information.pyGravatar Amrou Bellalouna2022-09-20-9/+7
| | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | use subTest to isolate assertionsGravatar Amrou Bellalouna2022-09-19-14/+17
| | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | add DEFAULT_RULES_DESCRIPTION to avoid duplicationGravatar Amrou Bellalouna2022-09-19-13/+10
| | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | fix redundant test nameGravatar Amrou Bellalouna2022-09-19-1/+1
| | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | test the cases where default rules message is supposed to be sentGravatar Amrou Bellalouna2022-09-19-0/+31
| | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | fix wrong type hint of the rules function return valueGravatar Amrou Bellalouna2022-09-19-2/+2
| | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | add test that checks for the sent content if one invalid index is present in ↵Gravatar Amrou Bellalouna2022-09-19-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the input
| | | * | | | | | | | | | | | | | return final list of rule numbers to be sentGravatar Amrou Bellalouna2022-09-19-2/+4
| | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | sort the list of final rule numbersGravatar Amrou Bellalouna2022-09-19-1/+1
| | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | determine final_rule_numbers value by subscribing to the ↵Gravatar Amrou Bellalouna2022-09-18-9/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | keyword_to_rule_number using the matched keywords
| | | * | | | | | | | | | | | | | subscribe directly to the keyword_to_rule_number dict instead of using .getGravatar Amrou Bellalouna2022-09-18-1/+2
| | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | remove redundant use of list transformation when sorting final rule numbersGravatar Amrou Bellalouna2022-09-18-1/+1
| | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | replace the keywords set with a dict that maps each keyword to its rule numberGravatar Amrou Bellalouna2022-09-18-8/+6
| | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | enumerate full_rules with a start index of 1Gravatar Amrou Bellalouna2022-09-18-2/+2
| | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | remove useless initial sorting of keywordsGravatar Amrou Bellalouna2022-09-18-2/+0
| | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | remove duplicate final rule numbers then sortGravatar Amrou Bellalouna2022-09-18-1/+1
| | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | remove unreachable codeGravatar Amrou Bellalouna2022-09-18-8/+0
| | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | rename pick to rule_numberGravatar Amrou Bellalouna2022-09-18-2/+2
| | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | rename index to rule_numberGravatar Amrou Bellalouna2022-09-18-1/+3
| | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | stop matching keywords when they're invalid upon triaging the rule numbers & ↵Gravatar Amrou Bellalouna2022-09-18-19/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | keywords
| | | * | | | | | | | | | | | | | stop matching as soon as an invalid kw is encounteredGravatar Amrou Bellalouna2022-09-18-11/+22
| | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | remove help message that displays the available keywords per ruleGravatar Amrou Bellalouna2022-09-16-8/+2
| | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | rename rules to rule_numbersGravatar Amrou Bellalouna2022-09-16-7/+7
| | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | replace .isdigit predicate with a try except blockGravatar Amrou Bellalouna2022-09-16-2/+2
| | | | | | | | | | | | | | | | |