aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | * | | | | | | | | | | | | | | | | | | Move PEP cog to info extensions categoryGravatar ks1292020-12-23-0/+0
| | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | Move constants out from classGravatar ks1292020-12-23-5/+4
| | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | Merge branch 'master' into ks123/pepGravatar ks1292020-12-20-124/+39
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | | | | | | | | | Remove unused constantGravatar ks1292020-12-20-1/+0
| | | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | | Implement GitHub API authorization headerGravatar ks1292020-12-20-1/+9
| | | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | | Log warning and return early when can't get PEP URLs from APIGravatar ks1292020-12-20-0/+4
| | | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | | Make last PEPs listing refresh non-optionalGravatar ks1292020-12-20-1/+2
| | | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | | Set last PEPs listing at beginning of functionGravatar ks1292020-12-20-1/+1
| | | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | | Move PEP related functions and command to own cogGravatar ks1292020-12-20-136/+154
| | | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | | Add GitHub API key to config as environment variableGravatar ks1292020-12-20-0/+2
| | | |_|_|/ / / / / / / / / / / / / / / / | | |/| | | | | | | | | | | | | | | | | |
| | | | * | | | | | | | | | | | | | | | | Merge branch 'master' of https://github.com/python-discord/bot into ↵Gravatar Steele2020-12-22-9/+41
| | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|/ / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | swfarnsworth/developer_command
| | | | * | | | | | | | | | | | | | | | | Rewrite `!verify` to account for new native-gate-only verification.Gravatar Steele2020-12-22-10/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Renamed method; if not `user.pending`, adds and immediately removes an arbitrary role (namely the Announcements role), which verifies the user.
| | | | * | | | | | | | | | | | | | | | | Merge branch 'master' of https://github.com/python-discord/bot into ↵Gravatar Steele2020-12-20-403/+351
| | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | swfarnsworth/developer_command
| | | | * | | | | | | | | | | | | | | | | | Responses from the bot mention the user.Gravatar Steele2020-12-17-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, responses from the bot would say the name of the user rather than mentioning them.
| | | | * | | | | | | | | | | | | | | | | | User gets the bot DM when verified via `!verify`.Gravatar Steele2020-12-17-1/+2
| | | | | |_|_|_|_|_|_|_|/ / / / / / / / / | | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `ALTERNATE_VERIFIED_MESSAGE` now begins "You're now verified!" instead of "Thanks for accepting our rules!".
| | | | | | * | | | | | | | | | | | | | | Log info instead error for watchchannel consume task cancelGravatar ks1292020-12-17-1/+1
| | | | | | | | | | | | | | | | | | | | |
| | | | | | * | | | | | | | | | | | | | | Merge branch 'master' into bug-fixesGravatar ks1292020-12-17-55/+274
| | | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | |_|/ / / / / / / / / / / / / / / | | | | |/| | | | | | | | | | | | | | | |
| | | | | | * | | | | | | | | | | | | | | Merge branch 'master' into bug-fixesGravatar ks1292020-12-02-1079/+1215
| | | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | * | | | | | | | | | | | | | | | Remove unnecessary f-stringGravatar ks1292020-12-02-1/+1
| | | | | | | | | | | | | | | | | | | | | |
| | | | | | * | | | | | | | | | | | | | | | Fix removing extensions and cogs for bot shutdownGravatar ks1292020-12-02-3/+7
| | | | | | | | | | | | | | | | | | | | | |
| | | | | | * | | | | | | | | | | | | | | | Add failure message when applying infraction fails because user leftGravatar ks1292020-12-02-0/+2
| | | | | | | | | | | | | | | | | | | | | |
| | | | | | * | | | | | | | | | | | | | | | Remove second unnecessary parenthesisGravatar ks1292020-12-02-4/+2
| | | | | | | | | | | | | | | | | | | | | |
| | | | | | * | | | | | | | | | | | | | | | Log exception instead warning for unexpected HttpExceptionGravatar ks1292020-12-02-1/+1
| | | | | | | | | | | | | | | | | | | | | |
| | | | | | * | | | | | | | | | | | | | | | Fix user leaving from guild log grammarGravatar ks1292020-12-02-2/+4
| | | | | | | | | | | | | | | | | | | | | |
| | | | | | * | | | | | | | | | | | | | | | Merge NotFound caching with HttpException caching with status codeGravatar ks1292020-12-02-10/+4
| | | | | | | | | | | | | | | | | | | | | |
| | | | | | * | | | | | | | | | | | | | | | Merge branch 'master' into bug-fixesGravatar ks1292020-11-21-604/+931
| | | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | * | | | | | | | | | | | | | | | | Catch not found exception in schedulerGravatar ks1292020-11-07-15/+30
| | | | | | | | | | | | | | | | | | | | | | |
| | | | | | * | | | | | | | | | | | | | | | | Use result instead exception for watchchannel closing taskGravatar ks1292020-11-07-1/+1
| | | | | | | | | | | | | | | | | | | | | | |
| | | | | | * | | | | | | | | | | | | | | | | Remove both cogs and extensions on closingGravatar ks1292020-11-07-11/+4
| | | | | | | | | | | | | | | | | | | | | | |
| | | | | | * | | | | | | | | | | | | | | | | Merge branch 'master' into bug-fixesGravatar ks1292020-11-07-811/+2173
| | | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge remote-tracking branch 'origin/bug-fixes' into bug-fixesGravatar ks1292020-10-10-0/+0
| | | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | * | | | | | | | | | | | | | | | | | Fix calling extensions removing function with wrong nameGravatar ks1292020-10-09-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | * | | | | | | | | | | | | | | | | | | Catch HTTPException when muting userGravatar ks1292020-10-10-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | * | | | | | | | | | | | | | | | | | | Use done callback instead of plain try-except inside functionGravatar ks1292020-10-10-26/+30
| | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | * | | | | | | | | | | | | | | | | | | Get all extensions first for unloading to avoid iteration errorGravatar ks1292020-10-10-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | * | | | | | | | | | | | | | | | | | | Fix name of extensions removing functionGravatar ks1292020-10-10-1/+1
| | | | | | |/ / / / / / / / / / / / / / / / / /
| | | | | | * | | | | | | | | | | | | | | | | | Merge remote-tracking branch 'up/master' into bug-fixesGravatar ks1292020-10-09-5351/+7612
| | | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | |_|_|_|_|_|_|_|_|_|_|_|/ / / / / | | | | | | | |/| | | | | | | | | | | | | | | |
| | | | | | * | | | | | | | | | | | | | | | | | Make bot shutdown remove all other non-extension cogs againGravatar ks1292020-10-09-1/+1
| | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | * | | | | | | | | | | | | | | | | | Use asyncio.gather instead manual looping and awaitingGravatar ks1292020-07-31-3/+2
| | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | * | | | | | | | | | | | | | | | | | Simplify bot shutdown cogs removingGravatar ks1292020-07-31-9/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unloading extensions already remove all cogs that is inside it and this is enough good for this case, because bot still call dpy's internal function later to remove cogs not related with extensions (when exist).
| | | | | | * | | | | | | | | | | | | | | | | | Improve extension + cogs removing comment on `close`Gravatar ks1292020-07-23-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Mark <[email protected]>
| | | | | | * | | | | | | | | | | | | | | | | | Add copyright about `_remove_extension` + make function privateGravatar ks1292020-07-23-2/+2
| | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | * | | | | | | | | | | | | | | | | | Silence: Add mod alert sending to `closing_tasks` to avoid errorGravatar ks1292020-06-21-1/+1
| | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | * | | | | | | | | | | | | | | | | | Reddit: Don't define revoke task as variable but instantly appendGravatar ks1292020-06-21-2/+1
| | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | * | | | | | | | | | | | | | | | | | Reddit: Remove unnecessary revoke task name changingGravatar ks1292020-06-21-1/+0
| | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | * | | | | | | | | | | | | | | | | | Implement bot closing tasks waiting + breaking `close` to multiple partsGravatar ks1292020-06-20-3/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Made to resolve problem with Reddit cog that revoking access token raise exception because session is closed. To solve this, I made `Bot.closing_tasks` that bot wait before closing. Moved all extensions and cogs removing to `remove_extension` what is called before closing everything else because need to call `cog_unload`.
| | | | | | * | | | | | | | | | | | | | | | | | Infractions: Fix cases when user leave from guild before assigning rolesGravatar ks1292020-06-20-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When user left from guild before bot can add Muted role, then catch this error and log.
| | | | | | * | | | | | | | | | | | | | | | | | Watchchannel: Moved message consuming task cancelling exceptionGravatar ks1292020-06-20-27/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moved exception logging when cog is being unloaded and messages is still not consumed from `cog_unload` to `consume_messages` itself in try-except block to avoid case when requesting result too early (before cancel finished).
* | | | | | | | | | | | | | | | | | | | | | | | Merge branch 'master' into voicechannel-muteGravatar Hassan Abouelela2020-12-22-445/+644
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela<[email protected]> # Conflicts # bot/exts/moderation/silence.py # bot/exts/moderation/test_silence.py
| * | | | | | | | | | | | | | | | | | | | | | | Merge pull request #1332 from python-discord/ks123/sentryGravatar Joe Banks2020-12-21-9/+41
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|/ / / / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | |