| Commit message (Collapse) | Author | Age | Lines | ||
|---|---|---|---|---|---|
| ... | |||||
| | | | | | | | | | | | | | | | | | * | | | | Remove verification channel special case from error handler tests | 2021-02-19 | -13/+5 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We don't have a verification channel anymore, so this have no point and this just give errors. | ||||
| | | | | | | | | | | | | | | | | | * | | | | Merge branch 'master' into error-handler-test | 2021-02-19 | -2907/+3859 | ||
| | | | | | | | | | | | | | | | | | |\ \ \ \ | |||||
| | | | | | | | | | | | | | | | | | * \ \ \ \ | Merge branch 'master' into error-handler-test | 2020-11-21 | -2526/+3832 | ||
| | | | | | | | | | | | | | | | | | |\ \ \ \ \ | |||||
| | | | | | | | | | | | | | | | | | * | | | | | | EH tests: Fix InWhitelistCheckFailure import path | 2020-09-27 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | | | | | | | * | | | | | | EH Tests: Fix order of imports | 2020-09-27 | -2/+2 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | | | | | | | * | | | | | | Merge remote-tracking branch 'upstream/master' into error-handler-test | 2020-09-27 | -4304/+8809 | ||
| | | | | | | | | | | | | | | | | | |\ \ \ \ \ \ | |||||
| | | | | | | | | | | | | | | | | | * | | | | | | | EH Tests: Create test for `handle_unexpected_error` | 2020-05-19 | -2/+37 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | | | | | | | * | | | | | | | EH Tests: Create test for `ErrorHandler` `setup` function | 2020-05-19 | -1/+11 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | | | | | | | * | | | | | | | EH Tests: Create tests for `handle_api_error` | 2020-05-19 | -0/+33 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | | | | | | | * | | | | | | | EH Tests: Merge test classes | 2020-05-19 | -11/+4 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | | | | | | | * | | | | | | | EH Tests: Create test for `handle_check_failure` | 2020-05-19 | -0/+48 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | | | | | | | * | | | | | | | EH Tests: Create test for `handle_input_error` | 2020-05-19 | -6/+36 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | | | | | | | * | | | | | | | Error Handler: Changed way of help command get + send to avoid warning | 2020-05-19 | -6/+4 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only get coroutine when this is gonna be awaited. | ||||
| | | | | | | | | | | | | | | | | | * | | | | | | | EH Tests: Created test for `handle_user_input_error` `get_help_command` | 2020-05-19 | -0/+16 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | | | | | | | * | | | | | | | EH Tests: Added test for `try_get_tag` `ResponseCodeError` ignore | 2020-05-19 | -0/+6 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | | | | | | | * | | | | | | | EH Tests: Added test for `try_get_tag` `ctx.invoke` calling | 2020-05-19 | -0/+7 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | | | | | | | * | | | | | | | EH Tests: Added test for `try_get_tag` tag name converting failing | 2020-05-19 | -0/+9 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | | | | | | | * | | | | | | | EH Tests: Added test for `try_get_tag` successful tag name converting | 2020-05-19 | -0/+9 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | | | | | | | * | | | | | | | EH Tests: Added test for `try_get_tag` error handling | 2020-05-19 | -2/+11 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | | | | | | | * | | | | | | | EH Tests: Added test for `try_get_tag` checks fail | 2020-05-19 | -2/+8 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | | | | | | | * | | | | | | | EH Tests: Added test for `try_get_tag` `invoked_from_error_handler` | 2020-05-19 | -0/+7 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | | | | | | | * | | | | | | | EH Tests: Added test for `try_get_tag` `get_command` calling | 2020-05-19 | -0/+19 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | | | | | | | * | | | | | | | EH Tests: Added tests for `get_help_command`in `OtherErrorHandlerTests` | 2020-05-19 | -0/+32 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | | | | | | | * | | | | | | | EH Tests: Cleanup `try_silence` tests | 2020-05-18 | -39/+27 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | | | | | | | * | | | | | | | EH Tests: Added test for `try_silence` no match message | 2020-05-18 | -0/+6 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | | | | | | | * | | | | | | | EH Tests: Created `try_silence` test to test unsilence command calling | 2020-05-18 | -0/+17 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | | | | | | | * | | | | | | | EH Tests: Created `try_silence` test to test silence command calling | 2020-05-18 | -0/+17 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | | | | | | | * | | | | | | | EH Tests: Created `try_silence` test to check no permission with except | 2020-05-18 | -0/+8 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | | | | | | | * | | | | | | | EH Tests: Created `try_silence` test to check no permission response | 2020-05-18 | -2/+9 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | | | | | | | * | | | | | | | EH Tests: Created `try_silence` test for `get_command` | 2020-05-18 | -0/+9 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | | | | | | | * | | | | | | | EH Tests: Created first test for `try_silence` | 2020-05-18 | -0/+18 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | | | | | | | * | | | | | | | EH Tests: Created test for all other errors | 2020-05-18 | -0/+8 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | | | | | | | * | | | | | | | EH Tests: Added test for 3 errors handling on handler | 2020-05-18 | -1/+17 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These 3 errors is: - `ConversionError` - `MaxConcurrencyReached` - `ExtensionError` | ||||
| | | | | | | | | | | | | | | | | | * | | | | | | | EH Tests: Added test for `CommandInvokeError` handling on handler | 2020-05-18 | -0/+22 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | | | | | | | * | | | | | | | EH Tests: Added test for `CommandOnCooldown` handling on handler | 2020-05-18 | -0/+8 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | | | | | | | * | | | | | | | EH Tests: Added test for `CheckFailure` handling on handler | 2020-05-18 | -0/+9 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | | | | | | | * | | | | | | | EH Tests: Added test for `UserInputError` handling on handler | 2020-05-18 | -0/+9 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | | | | | | | * | | | | | | | EH Tests: Added another test for `CommandNotFound` error handling | 2020-05-18 | -0/+17 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added test for case when `Context.invoked_from_error_handler` is `True` | ||||
| | | | | | | | | | | | | | | | | | * | | | | | | | Test Helpers: Added new attribute to `MockContext` | 2020-05-18 | -0/+2 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added `invoked_from_error_handler` attribute that is `False` default. | ||||
| | | | | | | | | | | | | | | | | | * | | | | | | | Error Handler: Changed `CommandNotFound` error check for testing | 2020-05-18 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replaced `hasattr` with `getattr` for unit tests | ||||
| | | | | | | | | | | | | | | | | | * | | | | | | | EH Tests: Remove class member `cog` + other small changes | 2020-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 EH | 2020-05-18 | -0/+49 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | | | | | | | * | | | | | | | EH Tests: Created test cases set + already handled error test | 2020-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. | 2021-05-03 | -4/+4 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Boris Muratov <[email protected]> | ||||
| | | | | | | | | | | | | | | | | | | | | | * | | | Move comments to their own line. | 2021-04-12 | -3/+6 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the inline comments would wrap onto their own line which looked terrible. | ||||
| | | | | | | | | | | | | | | | | | | | | | * | | | Be more consistent with word choice. | 2021-04-12 | -3/+3 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed "method" and "way" to "solution" | ||||
| | | | | | | | | | | | | | | | | | | | | | * | | | Create str-join.md | 2021-04-12 | -0/+25 | ||
| | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create a tag to showcase `str.join` | ||||
| * | | | | | | | | | | | | | | | | | | | | | | | Merge pull request #1516 from ToxicKidz/sorted-available-channels | 2021-04-11 | -1/+3 | ||
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sort the available help channels in #how-to-get-help by position | ||||
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | Merge branch 'main' into sorted-available-channels | 2021-04-11 | -17/+95 | ||
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | |||||
| * | | | | | | | | | | | | | | | | | | | | | | | | Merge pull request #1513 from python-discord/bug/filters/1469/invis-chars | 2021-04-11 | -17/+95 | ||
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Filtering: remove invisible characters before checking filters | ||||