aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | | | | | | | | | * | | | | | | | | | | | | | | | EH Tests: Added test for `try_get_tag` successful tag name convertingGravatar ks1292020-05-19-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | * | | | | | | | | | | | | | | | EH Tests: Added test for `try_get_tag` error handlingGravatar ks1292020-05-19-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | * | | | | | | | | | | | | | | | EH Tests: Added test for `try_get_tag` checks failGravatar ks1292020-05-19-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | * | | | | | | | | | | | | | | | EH Tests: Added test for `try_get_tag` `invoked_from_error_handler`Gravatar ks1292020-05-19-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | * | | | | | | | | | | | | | | | EH Tests: Added test for `try_get_tag` `get_command` callingGravatar ks1292020-05-19-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | * | | | | | | | | | | | | | | | EH Tests: Added tests for `get_help_command`in `OtherErrorHandlerTests`Gravatar ks1292020-05-19-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | * | | | | | | | | | | | | | | | EH Tests: Cleanup `try_silence` testsGravatar ks1292020-05-18-39/+27
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | * | | | | | | | | | | | | | | | EH Tests: Added test for `try_silence` no match messageGravatar ks1292020-05-18-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | * | | | | | | | | | | | | | | | EH Tests: Created `try_silence` test to test unsilence command callingGravatar ks1292020-05-18-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | * | | | | | | | | | | | | | | | EH Tests: Created `try_silence` test to test silence command callingGravatar ks1292020-05-18-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | * | | | | | | | | | | | | | | | EH Tests: Created `try_silence` test to check no permission with exceptGravatar ks1292020-05-18-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | * | | | | | | | | | | | | | | | EH Tests: Created `try_silence` test to check no permission responseGravatar ks1292020-05-18-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | * | | | | | | | | | | | | | | | EH Tests: Created `try_silence` test for `get_command`Gravatar ks1292020-05-18-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | * | | | | | | | | | | | | | | | EH Tests: Created first test for `try_silence`Gravatar ks1292020-05-18-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | * | | | | | | | | | | | | | | | EH Tests: Created test for all other errorsGravatar ks1292020-05-18-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | * | | | | | | | | | | | | | | | EH Tests: Added test for 3 errors handling on handlerGravatar ks1292020-05-18-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These 3 errors is: - `ConversionError` - `MaxConcurrencyReached` - `ExtensionError`
| | | | | | | | | | * | | | | | | | | | | | | | | | EH Tests: Added test for `CommandInvokeError` handling on handlerGravatar ks1292020-05-18-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | * | | | | | | | | | | | | | | | EH Tests: Added test for `CommandOnCooldown` handling on handlerGravatar ks1292020-05-18-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | * | | | | | | | | | | | | | | | EH Tests: Added test for `CheckFailure` handling on handlerGravatar ks1292020-05-18-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | * | | | | | | | | | | | | | | | EH Tests: Added test for `UserInputError` handling on handlerGravatar ks1292020-05-18-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | * | | | | | | | | | | | | | | | EH Tests: Added another test for `CommandNotFound` error handlingGravatar ks1292020-05-18-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added test for case when `Context.invoked_from_error_handler` is `True`
| | | | | | | | | | * | | | | | | | | | | | | | | | Test Helpers: Added new attribute to `MockContext`Gravatar ks1292020-05-18-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added `invoked_from_error_handler` attribute that is `False` default.
| | | | | | | | | | * | | | | | | | | | | | | | | | Error Handler: Changed `CommandNotFound` error check for testingGravatar ks1292020-05-18-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replaced `hasattr` with `getattr` for unit tests
| | | | | | | | | | * | | | | | | | | | | | | | | | EH Tests: Remove class member `cog` + other small changesGravatar ks1292020-05-18-14/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added `assertIsNone` to `test_error_handler_already_handled`. - Removed `ErrorHandlerTests.cog`, moved it to each test recreation.
| | | | | | | | | | * | | | | | | | | | | | | | | | EH Tests: Created test for `CommandNotFound` error when call isn't by EHGravatar ks1292020-05-18-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | * | | | | | | | | | | | | | | | EH Tests: Created test cases set + already handled error testGravatar ks1292020-05-18-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Created test that make sure when error is already handled in local error handler, this don't await `ctx.send` to make sure that this don't move forward.
| | | | | | | | | | | | | | * | | | | | | | | | | | Removed opinions from text.Gravatar Xithrius2021-05-03-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Boris Muratov <[email protected]>
| | | | | | | | | | | | | | * | | | | | | | | | | | Move comments to their own line.Gravatar SavagePastaMan2021-04-12-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the inline comments would wrap onto their own line which looked terrible.
| | | | | | | | | | | | | | * | | | | | | | | | | | Be more consistent with word choice.Gravatar SavagePastaMan2021-04-12-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed "method" and "way" to "solution"
| | | | | | | | | | | | | | * | | | | | | | | | | | Create str-join.mdGravatar SavagePastaMan2021-04-12-0/+25
| | | | | | | | | | | | | | |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create a tag to showcase `str.join`
* | | | | | | | | | | | | | | | | | | | | | | | | document snowflake check betterGravatar Senjan212021-04-16-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | | | | | Don't delete invocation in mod channelGravatar Senjan212021-04-16-7/+10
| | | | | | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | | | | | Better response wording, added aliasGravatar Senjan212021-04-16-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | | | | | make predicate_range inclusiveGravatar Senjan212021-04-16-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | | | | | Naming changes for better self documentationGravatar Senjan212021-04-16-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | | | | | simplify use_cache varGravatar Senjan212021-04-16-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | | | | | Use correct kwarg for channel.historyGravatar Senjan212021-04-16-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | | | | | replace lambda with list in defaultdictGravatar Senjan212021-04-16-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | | | | | Merge branch 'main' into cleanreworkGravatar Senjan212021-04-15-2379/+4200
|\| | | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | | | Merge pull request #1523 from kwzrd/kwzrd/branding-devGravatar Xithrius2021-04-14-7/+13
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Branding: correct broken timestamp persistence & improve cosmetics
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into kwzrd/branding-devGravatar Xithrius2021-04-14-19/+36
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | | | | Merge pull request #1514 from ↵Gravatar Xithrius2021-04-14-8/+11
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | python-discord/bug/filters/902/antispam-punish-once AntiSpam: prevent attempts to punish a user multiple times
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into bug/filters/902/antispam-punish-onceGravatar Xithrius2021-04-14-828/+1838
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | | | | | Merge pull request #1524 from python-discord/output-snowflakes-in-one-embedGravatar ks1292021-04-14-9/+19
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use a paginated embed to output multiple snowflakes
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into output-snowflakes-in-one-embedGravatar ks1292021-04-14-2/+6
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | | | | | | Merge pull request #1525 from python-discord/catch-invocation-not-found-errorGravatar Matteo Bertucci2021-04-14-2/+6
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|/ / / / / / / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Catch NotFound errors when trying to delete the invocation message when cleaning
| | * | | | | | | | | | | | | | | | | | | | | | | | | | Catch NotFound errors when trying to delete the invocation message when cleaningGravatar Chris2021-04-14-2/+6
| |/ / / / / / / / / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This often happens during a raid, when an int e script is added to ban & clean messages. Since the invocation message will be deleted on the first run, we should except subsequent NotFound errors.
| | * | | | | | | | | | | | | | | | | | | | | | | | | Refactor embed to use just one lineGravatar Chris2021-04-14-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | | | | | | | Require at least one snowflake to be provided.Gravatar Chris2021-04-14-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | | | | | | | Use a paginated embed to output multiple snowflakesGravatar Chris2021-04-14-9/+18
| |/ / / / / / / / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously each snowflake passed to the command would have their own embed, which may cause the bot to send many embeds if a staff unknowingly passed it a bunch of snowflakes. This change makes sure that we don't run into rate limits on the bot by sending all of the snowflakes in one embed.