aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | | * | | | | | | Used a list of tuples for on_message insteadGravatar Andi Qu2020-10-27-18/+11
| | | | | | | | | |
| | | * | | | | | | Moved global functions into the cog and got rid of unnecessary aiohttp sessionsGravatar Andi Qu2020-10-27-149/+158
| | | | | | | | | |
| | | * | | | | | | Made check for valid language easier to readGravatar Andi Qu2020-10-27-1/+3
| | | | | | | | | |
| | | * | | | | | | Merge branch 'python-discord-master'Gravatar Andi Qu2020-10-27-6213/+9471
| | | |\ \ \ \ \ \ \
| | | | * | | | | | | Merge branch 'master' of https://github.com/python-discord/bot into ↵Gravatar Andi Qu2020-10-27-6213/+9471
| | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | python-discord-master
| | | * | | | | | | | Merge branch 'master' of https://github.com/dolphingarlic/botGravatar Andi Qu2020-10-27-1/+1
| | | |\ \ \ \ \ \ \ \
| | | | * | | | | | | | Update bot/cogs/code_snippets.pyGravatar Andi Qu2020-10-27-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Leon Sandøy <[email protected]>
| | | * | | | | | | | | Split up refs into branches and tagsGravatar Andi Qu2020-10-27-6/+6
| | | |/ / / / / / / /
| | | * | | | | | | | Renamed snippet_to_md and wrote a better docstringGravatar Andi Qu2020-10-27-6/+18
| | | | | | | | | | |
| | | * | | | | | | | Renamed fetch_http to fetch_responseGravatar Andi Qu2020-10-27-11/+11
| | | | | | | | | | |
| | | * | | | | | | | Moved code for finding the right ref to a functionGravatar Andi Qu2020-10-27-20/+14
| | | | | | | | | | |
| | | * | | | | | | | Cleaned the code for CodeSnippetsGravatar dolphingarlic2020-07-30-191/+217
| | | | | | | | | | |
| | | * | | | | | | | Removed repo widget prettification and added reaction to remove linesGravatar Andi Qu2020-07-07-139/+22
| | | | | | | | | | |
| | | * | | | | | | | Minor style fixesGravatar Andi Qu2020-07-05-3/+3
| | | | | | | | | | |
| | | * | | | | | | | Fixed all docstringsGravatar Andi Qu2020-07-05-17/+17
| | | | | | | | | | |
| | | * | | | | | | | Tried to fix some of the flake8 style errorsGravatar Andi Qu2020-07-05-43/+26
| | | | | | | | | | |
| | | * | | | | | | | Added better support for GitHub/GitLabGravatar Andi Qu2020-07-05-0/+325
| | | | | | | | | | |
| | | | | | | * | | | Use a specific error message when a warned user isn't in the guildGravatar Matteo Bertucci2021-04-27-3/+15
| | | |_|_|_|/ / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | This commit changes sighly how the warn, kick and mute commands to take a fetched member as their argument and to return a little error message if the user isn't in the guild rather than showing the whole help page.
| | * | | | | | | | Merge pull request #1426 from python-discord/feat/1365/add-bot-badges-to-userGravatar Matteo Bertucci2021-04-25-3/+15
| | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Add bot and verified bot badges to the user embed.
| | | * \ \ \ \ \ \ \ Merge branch 'main' into feat/1365/add-bot-badges-to-userGravatar Matteo Bertucci2021-04-25-29/+243
| | | |\ \ \ \ \ \ \ \ | | | |/ / / / / / / / | | |/| | | | | | | |
| | * | | | | | | | | Merge pull request #1529 from Numerlor/selective-traceGravatar Hassan Abouelela2021-04-25-9/+36
| | |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Make trace logging optional and allow selective enabling
| | | * \ \ \ \ \ \ \ \ Merge branch 'main' into selective-traceGravatar Numerlor2021-04-23-30/+285
| | | |\ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / / | | |/| | | | | | | | |
| | * | | | | | | | | | 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
| | |/ / / / / / / / / /
| | | * | | | | | | | | 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
| | | | | | | | | | | | | | | |