aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * | | | | | | | | | | | | | | | | | Fix setup docstring to specify correct cogGravatar mbaruh2021-04-15-1/+1
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Remove extra newlineGravatar Boris Muratov2021-04-15-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: ks129 <[email protected]>
| * | | | | | | | | | | | | | | | | | Add Duty cog and new Moderators roleGravatar mbaruh2021-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!Gravatar Matteo Bertucci2021-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 indexingGravatar francisdbillones2021-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 varGravatar Numerlor2021-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 enablingGravatar Numerlor2021-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 handlingGravatar Matteo Bertucci2021-04-24-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co_authored-by: Numerlor <[email protected]>
| | | | * | | | | | | | | | | | | Tests: members shouldn't have any public flagsGravatar Matteo Bertucci2021-04-17-0/+8
| | | | | | | | | | | | | | | | |
| | | | * | | | | | | | | | | | | Move the verified developer badge to the embed titleGravatar Matteo Bertucci2021-04-17-3/+5
| | | | | | | | | | | | | | | | |
| | | | * | | | | | | | | | | | | Make YAMLGetter raise AttributeError instead of KeyErrorGravatar Matteo Bertucci2021-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-userGravatar Matteo Bertucci2021-04-17-2630/+4712
| | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | |_|/ / / / / / / / / / / / / | | |/| | | | | | | | | | | | | |
| | | | * | | | | | | | | | | | | Merge branch 'master' into feat/1365/add-bot-badges-to-userGravatar Joe Banks2021-02-22-12/+12
| | | | |\ \ \ \ \ \ \ \ \ \ \ \ \
| | | | * | | | | | | | | | | | | | Add bot and verified bot badges to the user embed.Gravatar Matteo Bertucci2021-02-20-0/+7
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | * | | | | | | | Make flake8 happy :DGravatar rohan2021-04-28-1/+1
| | | | | | | | | | |/ / / / / / /
| | | | | | | | | | * | | | | | | Use guild.afk_channel atr to retrieve afk Channel instance.Gravatar rohan2021-04-28-3/+1
| | | | | | | | | | | | | | | | |
| | | | | | | | | | * | | | | | | Wait for cache to be loaded before accesing member voice state and channels.Gravatar rohan2021-04-25-0/+1
| | | | | | | | | | | | | | | | |
| | | | | | | | | | * | | | | | | Add method for suspending member's stream when revoking stream perms.Gravatar Rohan2021-04-20-4/+27
| | | | | | | | | | | | | | | | |
| | | | | | | | | | * | | | | | | Add afk voice channel to constants.Gravatar Rohan2021-04-19-0/+2
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | * | | | | | Update error handler tests to match with recent changesGravatar ks1292021-02-19-9/+72
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | * | | | | | Remove unnecessary ResponseCodeError suppressGravatar ks1292021-02-19-4/+2
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | * | | | | | Remove verification channel special case from error handler testsGravatar ks1292021-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-testGravatar ks1292021-02-19-2907/+3859
| | | | | | | | | | | |\ \ \ \ \ \
| | | | | | | | | | | * \ \ \ \ \ \ Merge branch 'master' into error-handler-testGravatar ks1292020-11-21-2526/+3832
| | | | | | | | | | | |\ \ \ \ \ \ \
| | | | | | | | | | | * | | | | | | | EH tests: Fix InWhitelistCheckFailure import pathGravatar ks1292020-09-27-1/+1
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | * | | | | | | | EH Tests: Fix order of importsGravatar ks1292020-09-27-2/+2
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | * | | | | | | | Merge remote-tracking branch 'upstream/master' into error-handler-testGravatar ks1292020-09-27-4304/+8809
| | | | | | | | | | | |\ \ \ \ \ \ \ \
| | | | | | | | | | | * | | | | | | | | EH Tests: Create test for `handle_unexpected_error`Gravatar ks1292020-05-19-2/+37
| | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | * | | | | | | | | EH Tests: Create test for `ErrorHandler` `setup` functionGravatar ks1292020-05-19-1/+11
| | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | * | | | | | | | | EH Tests: Create tests for `handle_api_error`Gravatar ks1292020-05-19-0/+33
| | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | * | | | | | | | | EH Tests: Merge test classesGravatar ks1292020-05-19-11/+4
| | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | * | | | | | | | | EH Tests: Create test for `handle_check_failure`Gravatar ks1292020-05-19-0/+48
| | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | * | | | | | | | | EH Tests: Create test for `handle_input_error`Gravatar ks1292020-05-19-6/+36
| | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | * | | | | | | | | Error Handler: Changed way of help command get + send to avoid warningGravatar ks1292020-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`Gravatar ks1292020-05-19-0/+16
| | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | * | | | | | | | | EH Tests: Added test for `try_get_tag` `ResponseCodeError` ignoreGravatar ks1292020-05-19-0/+6
| | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | * | | | | | | | | EH Tests: Added test for `try_get_tag` `ctx.invoke` callingGravatar ks1292020-05-19-0/+7
| | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | * | | | | | | | | EH Tests: Added test for `try_get_tag` tag name converting failingGravatar ks1292020-05-19-0/+9
| | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | * | | | | | | | | 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
| | | | | | | | | | | | | | | | | | | |