| Commit message (Collapse) | Author | Age | Lines | ||
|---|---|---|---|---|---|
| ... | |||||
| | * | | | | | | | | | | | | | | | | | | Fix setup docstring to specify correct cog | 2021-04-15 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | | | | | | | | Remove extra newline | 2021-04-15 | -1/+0 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: ks129 <[email protected]> | ||||
| | * | | | | | | | | | | | | | | | | | | Add Duty cog and new Moderators role | 2021-04-14 | -4/+143 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added a cog to allow moderators to go off and on duty. The off-duty state is cached via a redis cache, and its expiry is scheduled via the Scheduler. Additionally changes which roles are pinged on mod alerts. | ||||
| | | * | | | | | | | | | | | | | | | | | Tests: AsyncMock is now in the standard library! | 2021-04-20 | -1/+1 | ||
| | |/ / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `tests/README.md` file still referenced our old custom `AsyncMock` that has been removed in favour of the standard library one that has been introduced in 3.8. This commit fixes this by updating the section. | ||||
| | | * | | | | | | | | | | | | | | | | Fix zen's negative indexing | 2021-04-19 | -1/+1 | ||
| | | | |_|_|_|_|_|_|_|_|_|_|_|/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Negative indexing starts at -1, not 0, meaning lower bound should be -1 * len(zen_lines), not -1 * upper_bound. | ||||
| | | | * | | | | | | | | | | | | | | Add blacklist format to the BOT_TRACE_LOGGERS env var | 2021-04-19 | -4/+21 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To mimic the same behaviour, setting all of the loggers to the trace level was changed to a "*" prefix without looking at other contents instead of setting it exactly to "ROOT" or "*" | ||||
| | | | * | | | | | | | | | | | | | | Make trace logging optional and allow selective enabling | 2021-04-15 | -9/+19 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because coloredlogs' install changes the level of the root handler, the setLevel call had to be moved to after the install. | ||||
| | | | | * | | | | | | | | | | | | | Tests: simplify public flags handling | 2021-04-24 | -8/+2 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co_authored-by: Numerlor <[email protected]> | ||||
| | | | | * | | | | | | | | | | | | | Tests: members shouldn't have any public flags | 2021-04-17 | -0/+8 | ||
| | | | | | | | | | | | | | | | | | | |||||
| | | | | * | | | | | | | | | | | | | Move the verified developer badge to the embed title | 2021-04-17 | -3/+5 | ||
| | | | | | | | | | | | | | | | | | | |||||
| | | | | * | | | | | | | | | | | | | Make YAMLGetter raise AttributeError instead of KeyError | 2021-04-17 | -3/+4 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Utility functions such as hasattr or getattr except __getattribute__ to raise AttributeError not KeyError. This commit also lowers the logging level of the error message to info since it is up to the caller to decide if this is an expected failure or not. | ||||
| | | | | * | | | | | | | | | | | | | Merge remote-tracking branch 'origin/main' into feat/1365/add-bot-badges-to-user | 2021-04-17 | -2630/+4712 | ||
| | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | |_|/ / / / / / / / / / / / / | | |/| | | | | | | | | | | | | | | |||||
| | | | | * | | | | | | | | | | | | | Merge branch 'master' into feat/1365/add-bot-badges-to-user | 2021-02-22 | -12/+12 | ||
| | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ | |||||
| | | | | * | | | | | | | | | | | | | | Add bot and verified bot badges to the user embed. | 2021-02-20 | -0/+7 | ||
| | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | * | | | | | | | | Make flake8 happy :D | 2021-04-28 | -1/+1 | ||
| | | | | | | | | | | |/ / / / / / / | |||||
| | | | | | | | | | | * | | | | | | | Use guild.afk_channel atr to retrieve afk Channel instance. | 2021-04-28 | -3/+1 | ||
| | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | * | | | | | | | Wait for cache to be loaded before accesing member voice state and channels. | 2021-04-25 | -0/+1 | ||
| | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | * | | | | | | | Add method for suspending member's stream when revoking stream perms. | 2021-04-20 | -4/+27 | ||
| | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | * | | | | | | | Add afk voice channel to constants. | 2021-04-19 | -0/+2 | ||
| | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | Update error handler tests to match with recent changes | 2021-02-19 | -9/+72 | ||
| | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | Remove unnecessary ResponseCodeError suppress | 2021-02-19 | -4/+2 | ||
| | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | 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 | ||
| | | | | | | | | | | | | | | | | | | | | | |||||
