aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | * | | | | | | | | | | | | | | | | | | (Mod Management, discord.py 1.3.x Migrations): Replaced `help` command ↵Gravatar ks1292020-04-03-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | getting with `ctx.send_help`.
| | * | | | | | | | | | | | | | | | | | | (Mod Management, discord.py 1.3.x Migrations): Replaced `help` command ↵Gravatar ks1292020-04-03-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | getting with `ctx.send_help`, replaced `ctx.invoke` with direct command call.
| | * | | | | | | | | | | | | | | | | | | (Utils, discord.py 1.3.x Migrations): Replaced `help` command getting with ↵Gravatar ks1292020-04-03-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `ctx.send_help`.
| | * | | | | | | | | | | | | | | | | | | (Snekbox, discord.py 1.3.x Migrations): Replaced `help` command getting with ↵Gravatar ks1292020-04-03-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `ctx.send_help`.
| | * | | | | | | | | | | | | | | | | | | (Site, discord.py 1.3.x Migrations): Replaced `help` command getting with ↵Gravatar ks1292020-04-03-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `ctx.send_help`.
| | * | | | | | | | | | | | | | | | | | | (Reminders, discord.py 1.3.x Migrations): Replaced `ctx.invoke` with direct ↵Gravatar ks1292020-04-03-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | command calling, replaced `help` command getting with `ctx.send_help`.
| | * | | | | | | | | | | | | | | | | | | (Reddit, discord.py 1.3.x Migrations): Replaced `help` command getting with ↵Gravatar ks1292020-04-03-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `ctx.send_help`.
| | * | | | | | | | | | | | | | | | | | | (Off-Topic Names, discord.py 1.3.x Migrations): Replaced `help` command ↵Gravatar ks1292020-04-03-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | getting with `ctx.send_help`.
| | * | | | | | | | | | | | | | | | | | | (Extensions, discord.py 1.3.x Migrations): Replaced `help` command getting ↵Gravatar ks1292020-04-03-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with `ctx.send_help`.
| | * | | | | | | | | | | | | | | | | | | (Eval, discord.py 1.3.x Migrations): Replaced `help` command getting with ↵Gravatar ks1292020-04-03-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `ctx.send_help`.
| | * | | | | | | | | | | | | | | | | | | (Docs, discord.py 1.3.x Migrations): Replaced `ctx.invoke` with direct ↵Gravatar ks1292020-04-03-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | calling command.
| | * | | | | | | | | | | | | | | | | | | (Sync Cog Tests, discord.py 1.3.x Migrations): Removed `.callback` from ↵Gravatar ks1292020-04-03-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commands calling.
| | * | | | | | | | | | | | | | | | | | | (Silence Tests, discord.py 1.3.x Migrations): Removed `.callback` from ↵Gravatar ks1292020-04-03-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commands calling.
| | * | | | | | | | | | | | | | | | | | | (Snekbox Tests, discord.py 1.3.x Migrations): Removed `.callback` from ↵Gravatar ks1292020-04-03-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commands calling.
| | * | | | | | | | | | | | | | | | | | | (Information Tests): Replaced `asyncio.run` with `await` in `UserCommandTests`.Gravatar ks1292020-04-03-7/+6
| | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | (Information Tests): Replaced `asyncio.run` with `await` in `UserEmbedTests`.Gravatar ks1292020-04-03-8/+8
| | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | (Information Tests): Replaced `asyncio.run` with `await` in ↵Gravatar ks1292020-04-03-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `UserInfractionHelperMethodTests.`
| | * | | | | | | | | | | | | | | | | | | (Information Tests, discord.py 1.3.x Migration): Fixed `InformationCogTests` ↵Gravatar ks1292020-04-03-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | command calls.
| | * | | | | | | | | | | | | | | | | | | (Information Tests, discord.py 1.3.x Migration): In `InformationCogTests`, ↵Gravatar ks1292020-04-03-8/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | replaced `.callback` calls with direct command awaits.
| | * | | | | | | | | | | | | | | | | | | (Information Tests, discord.py 1.3.x Migration): Moved from ↵Gravatar ks1292020-04-03-25/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `unittest.TestCase` to `unittest.IsolatedAsyncTestCase` rest of test case classes.
| | * | | | | | | | | | | | | | | | | | | (Information Tests, discord.py 1.3.x Migration): Moved from ↵Gravatar ks1292020-04-03-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `unittest.TestCase` to `unittest.IsolatedAsyncTestCase` in `InformationCogTests`.
| | * | | | | | | | | | | | | | | | | | | (Bot Cog, discord.py 1.3.x Migration): Replaced `ctx.invoke` with ↵Gravatar ks1292020-04-03-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `ctx.send_help`.
| | * | | | | | | | | | | | | | | | | | | (Tags, discord.py 1.3.x Migration): Replaced with direct function call.Gravatar ks1292020-04-03-1/+1
| | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | (Snekbox Fix, discord.py 1.3.x Migration): Applied one reaction clear to tests.Gravatar ks1232020-04-02-2/+2
| | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | (Reddit, discord.py 1.3.x Migration): Replaced `asyncio.sleep` with ↵Gravatar ks1232020-04-02-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `discord.utils.sleep_until`
| | * | | | | | | | | | | | | | | | | | | (Off-Topic Names, discord.py 1.3.x Migration): Replaced `asyncio.sleep` with ↵Gravatar ks1232020-04-02-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `discord.utils.sleep_until`.
| | * | | | | | | | | | | | | | | | | | | (Patches, discord.py 1.3.x Migration): Removed patches due not longer necessary.Gravatar ks1232020-04-02-43/+0
| | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | (Snekbox, discord.py 1.3.x Migration): Replaced message full reaction clear ↵Gravatar ks1232020-04-02-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with only reeval emoji clear.
| | * | | | | | | | | | | | | | | | | | | (Aliases, discord.py 1.3.x Migration): Replaced `ctx.invoke` with direct ↵Gravatar ks1232020-04-02-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | awaiting command.
| | | | | * | | | | | | | | | | | | | | | Refactor unit tests UserSyncerSyncTests to use changes made to UserSyncer in ↵Gravatar RohanJnr2020-10-02-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | _syncers.py
| | | | | * | | | | | | | | | | | | | | | update UserSyncerDiffTests Tests to use changes made to API calls.Gravatar RohanJnr2020-10-02-6/+32
| | | | | | | | | | | | | | | | | | | | |
| | | | | * | | | | | | | | | | | | | | | Merge branch 'master' into smart_syncing_usersGravatar Rohan Reddy Alleti2020-10-01-639/+330
| | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | Merge pull request #1199 from ↵Gravatar Matteo Bertucci2020-10-01-1/+5
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | python-discord/bug/backend/1181/wait-for-deletion-404 Catch 404 in wait_for_deletion when reacting
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'master' into bug/backend/1181/wait-for-deletion-404Gravatar Matteo Bertucci2020-10-01-1/+1
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | Catch 404 in wait_for_deletion when reactingGravatar MarkKoz2020-09-30-1/+5
| |/ / / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The message may be deleted before the bot gets a chance to react. Fixes #1181
| | | | | * | | | | | | | | | | | | | | | remove redundant type hints and improve existing function annotationsGravatar RohanJnr2020-10-01-8/+8
| | | | | | | | | | | | | | | | | | | | |
| | | | | * | | | | | | | | | | | | | | | modify tests to use paginated response.Gravatar RohanJnr2020-09-27-6/+37
| | | | | | | | | | | | | | | | | | | | |
| | | | | * | | | | | | | | | | | | | | | Merge branch 'master' into smart_syncing_usersGravatar Rohan Reddy Alleti2020-09-25-1970/+1178
| | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | * | | | | | | | | | | | | | | | | Update users on bot start via HTTP PATCH method and send only user ID and ↵Gravatar RohanJnr2020-09-25-3/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the modified user data.
| | | | | * | | | | | | | | | | | | | | | | fix type and add variable type hintingGravatar RohanJnr2020-09-22-2/+1
| | | | | | | | | | | | | | | | | | | | | |
| | | | | * | | | | | | | | | | | | | | | | Refactor code to make use of bulk create and update API endpoints.Gravatar RohanJnr2020-09-22-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instead of creating and updating a single user at a time, a list of dicts will be sent for bulk update and creation.
| | | | | * | | | | | | | | | | | | | | | | Merge remote-tracking branch 'upstream/master' into smart_syncing_usersGravatar RohanJnr2020-09-21-257/+301
| | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | * | | | | | | | | | | | | | | | | | refactor code to GET users from site endpoint `bot/users` with paginationGravatar RohanJnr2020-09-21-1/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added method to recursively GET users if paginated and another method to parse URL and return endpoint and query parameters.
| | | | | | | | | | | | | | | * | | | | | | | Silence: fix scheduled tasks not being cancelled on unloadGravatar MarkKoz2020-10-09-1/+1
| | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | * | | | | | | | Silence tests: make _async_init attribute tests more robustGravatar MarkKoz2020-10-08-7/+11
| | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | * | | | | | | | Silence: remove _mod_log_channel attributeGravatar MarkKoz2020-10-08-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's only used as an argument to `SilenceNotifier`, so it doesn't need to be an instance attribute.
| | | | | | | | | | | | | | | * | | | | | | | Silence: add to notifier when indefinite rather than temporaryGravatar MarkKoz2020-10-08-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Accidentally swapped the logic in a previous commit during a refactor.
| | | | | | | | | | | | | | | * | | | | | | | Silence tests: fix unawaited coro warningsGravatar MarkKoz2020-10-07-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because the Scheduler is mocked, it doesn't actually do anything with the coroutines passed to the schedule() functions, hence the warnings.
| | | | | | | | | | | | | | | * | | | | | | | Silence: rename _init_cog to _async_initGravatar MarkKoz2020-10-06-15/+15
| | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | * | | | | | | | Silence: refactor _silenceGravatar MarkKoz2020-10-06-33/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rename to `_silence_overwrites` * Reduce responsibilities to only setting permission overwrites * Log in `silence` instead * Add to notifier in `silence` instead