aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | | | | | | | | | | * | | | | | | | | 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`
| | | | | | | | | | | | | | | | | | * Remove unused function.Gravatar rohan2021-05-10-16/+0
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * Remove unused redddit emojis.Gravatar rohan2021-05-04-9/+0
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * Remove reddit references.Gravatar Rohan2021-04-28-47/+1
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * Delete reddit cog.Gravatar Rohan2021-04-20-308/+0
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | Merge pull request #1532 from doublevcodes/mainGravatar Boris Muratov2021-04-20-2/+6
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|/ / / / / / / / |/| | | | | | | | | | | | | | | | | !superstarify default time
| * | | | | | | | | | | | | | | | | Update bot/exts/moderation/infraction/superstarify.pyGravatar Vivaan Verma2021-04-19-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Boris Muratov <[email protected]>
| * | | | | | | | | | | | | | | | | Merge branch 'main' into mainGravatar Vivaan Verma2021-04-19-4/+46
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | 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.
| * | | | | | | | | | | | | | | | Change type hint from duration to expiryGravatar Vivaan Verma2021-04-19-2/+2
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Add default duration as constant and use Duration converterGravatar Vivaan Verma2021-04-19-4/+4
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Inline duration assignmentGravatar Vivaan Verma2021-04-19-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Rohan Reddy Alleti <[email protected]>
| * | | | | | | | | | | | | | | | Fix linting errorsGravatar Vivaan Verma2021-04-18-1/+1
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Check if a duration was providedGravatar Vivaan Verma2021-04-18-2/+3
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Make duration an optional arg and default it to 1 hourGravatar Vivaan Verma2021-04-18-1/+5
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Added default duration of 1h to superstarifyGravatar Vivaan Verma2021-04-18-1/+1
|/ / / / / / / / / / / / / / / /
* | | | | | | | | | | | | | | | 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.
* | | | | | | | | | | | | | | | Merge pull request #1523 from kwzrd/kwzrd/branding-devGravatar Xithrius2021-04-14-7/+13
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Branding: correct broken timestamp persistence & improve cosmetics