aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * | | | | | | | | | | | | | | | | | | | | | | | Merge pull request #1537 from python-discord/list-non-staff-with-stream-permsGravatar ChrisJL2021-04-19-4/+46
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | List non staff with stream perms
| | * | | | | | | | | | | | | | | | | | | | | | | Update comment in list stream for readibilityGravatar Chris2021-04-19-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | | | | | Improve the wording of the list streamers embedGravatar ChrisJL2021-04-19-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Matteo Bertucci <[email protected]>
| | * | | | | | | | | | | | | | | | | | | | | | | Remove unnecessary _ in variable nameGravatar Chris2021-04-19-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | | | | | Update wording of comment to be clearer.Gravatar Chris2021-04-19-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | | | | | Add command to list users with streaming permsGravatar Chris2021-04-19-1/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is useful to audit users who still have the permission to stream. I have chosen to also sort and paginate the embed to make it easier to read. The sorting is based on how long until the user's streaming permissions are revoked, with permanent streamers at the end.
| | * | | | | | | | | | | | | | | | | | | | | | | Require a mod role for stream commandsGravatar Chris2021-04-19-4/+4
| |/ / / / / / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously any staff member (including helpers) could use the stream commands.
| * | | | | | | | | | | | | | | | | | | | | | | Merge pull request #1528 from python-discord/mbaruh/allow_evalGravatar Hassan Abouelela2021-04-17-10/+57
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow eval almost everywhere
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into mbaruh/allow_evalGravatar Hassan Abouelela2021-04-17-0/+21
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | | | Merge pull request #1507 from python-discord/decorator-tagGravatar Xithrius2021-04-15-0/+21
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|/ / / / / / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | Add custom command checks tag
| | * | | | | | | | | | | | | | | | | | | | | | | Merge branch 'main' into decorator-tagGravatar Xithrius2021-04-15-849/+1868
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | | | | | chore: update wording as requestedGravatar vcokltfre2021-04-15-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | | | | | rename function to in_any_channel in accordance with d.py namingGravatar vcokltfre2021-04-07-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | | | | | update wording to emphasise checks not decoratorsGravatar vcokltfre2021-04-07-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | | | | | add custom command checks tagGravatar vcokltfre2021-04-07-0/+21
| | | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | | | | | | Raise a new NotInBlacklistCheckFailure insteadGravatar mbaruh2021-04-16-7/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This creates a new baseclass called ContextCheckFailure, and the new error as well as InWhitelistCheckFailure now derive it.
| | | * | | | | | | | | | | | | | | | | | | | | Allow eval almost everywhereGravatar mbaruh2021-04-15-5/+44
| | |/ / / / / / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a check to blacklist a command only in a specific context, with an option for a role override. The check is applied to the eval command to blacklist it only from python-general.
| | | | | | | | | | * | | | | | | | | | | | | 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
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | * | | | | | | | | | | | | | | | 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
| | | | | | | | | | | | | | | | | | | | | | | | | |