aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | | | | | | | | | * | | | | | | | | | 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
| | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | * | | | | | | | | | 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
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * Nomination: consider that the first message has two role pingsGravatar Matteo Bertucci2021-05-15-8/+12
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * Nomination: change archive timestamp to %Y/%m/%dGravatar Matteo Bertucci2021-05-15-1/+1
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * Utils: fix indentationGravatar Matteo Bertucci2021-05-15-4/+4
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * Nomination: fix formatting issueGravatar Matteo Bertucci2021-05-10-2/+8
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * Duckpond: make use of count_unique_users_reactionGravatar Matteo Bertucci2021-05-09-21/+25
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * Nominations: promote the mention regex to a constantGravatar Matteo Bertucci2021-05-09-1/+4
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * Nomination: simplify history loopGravatar Matteo Bertucci2021-05-09-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: mbaruh <[email protected]>
| | | | | | | | | | | | | | | | | | * Nominations: send many archive messages if the nomination is too longGravatar Matteo Bertucci2021-04-24-6/+8
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * Nomination: properly handle multi messages nominationsGravatar Matteo Bertucci2021-04-24-9/+27
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * Nomination: pin nomination announcementsGravatar Matteo Bertucci2021-04-24-4/+23
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * Nomination: ping the whole teamGravatar Matteo Bertucci2021-04-23-1/+1
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * Nominations: automate post archivingGravatar Matteo Bertucci2021-04-23-4/+94
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds a new reaction handler to the talentpool cog to automatically unpin and archive mesage in #nomination-voting
* | | | | | | | | | | | | | | | | | Merge pull request #1546 from ToxicKidz/remind-embed-timestampGravatar Matteo Bertucci2021-04-21-5/+8
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use Embed.timestamp for the !remind command
| * | | | | | | | | | | | | | | | | | chore: Revert back to 'Due'Gravatar ToxicKidz2021-04-21-1/+1
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | chore: Use Embed.timestamp for showing when the reminder will be sentGravatar ToxicKidz2021-04-20-5/+8
|/ / / / / / / / / / / / / / / / / /
* | | | | | | | | | | | | | | | | | Merge pull request #1535 from francisdbillones/patch-1Gravatar Boris Muratov2021-04-20-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix zen's negative indexing
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into patch-1Gravatar Boris Muratov2021-04-20-14/+198
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | Merge pull request #1543 from python-discord/test-async-mockGravatar Hassan Abouelela2021-04-20-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tests: AsyncMock is now in the standard library!
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into test-async-mockGravatar Hassan Abouelela2021-04-20-7/+145
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | Merge pull request #1544 from python-discord/mods-role-in-allowed-mentionsGravatar Matteo Bertucci2021-04-20-0/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the Moderators role to moderation_roles in config
| * | | | | | | | | | | | | | | | | | | | Add the Moderators role to moderation_roles in configGravatar Joe Banks2021-04-20-0/+1
|/ / / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows mod alert pings to go through in #mod-alerts, the allowed mentions only included the mods team role which is not pinged on mod alerts.