aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Update CODEOWNERSGravatar Chris Lovering2022-04-21-2/+0
|
* Bump bot-core which has unqualify in the utils namespaceGravatar Chris Lovering2022-04-21-5/+5
|
* Use the extensions list & util from bot-coreGravatar Chris Lovering2022-04-21-43/+8
|
* Merge pull request #2137 from python-discord/dont-use-modlog-for-defconGravatar ChrisJL2022-04-21-23/+10
|\ | | | | Don't try to get modlog cog on defcon cog_load
| * Merge branch 'main' into dont-use-modlog-for-defconGravatar ChrisJL2022-04-21-1/+4
| |\ | |/ |/|
* | Merge pull request #2142 from python-discord/supress-notfound-when-cleaningGravatar wookie1842022-04-21-1/+4
|\ \ | | | | | | Deal with the clean invoke being delete before replying
| * \ Merge branch 'main' into supress-notfound-when-cleaningGravatar wookie1842022-04-21-1/+1
| |\ \ | |/ / |/| |
| * | Deal with the clean invoke being delete before replyingGravatar Chris Lovering2022-04-21-1/+4
| | | | | | | | | | | | Closes #2141 Closes BOT-33P
| | * Merge branch 'main' into dont-use-modlog-for-defconGravatar ChrisJL2022-04-21-1/+1
| | |\ | |_|/ |/| |
* | | Merge pull request #2140 from python-discord/remove-wait_for-kwargGravatar ChrisJL2022-04-21-1/+1
|\ \ \ | |/ / |/| | wait_for event param is now positional only
| * | wait_for event param is now positional onlyGravatar Chris Lovering2022-04-21-1/+1
|/ / | | | | | | Closes #2139 Closes BOT-33N
| * Make mod_log getter asyncGravatar mbaruh2022-04-21-23/+10
|/ | | | Loading order is not guaranteed. Sleep until the cog loads.
* Merge pull request #2136 from python-discord/fix-modpingsGravatar wookie1842022-04-20-1/+1
|\ | | | | Don't call broken ModPings scheduler
| * Don't call broken ModPings schedulerGravatar Chris Lovering2022-04-20-1/+1
|/ | | | This is being fixed in https://github.com/python-discord/bot/pull/2001
* Merge pull request #2118 from python-discord/bump-d.py-versionGravatar ChrisJL2022-04-20-1901/+1397
|\ | | | | Bump Discord.py to latest alpha and use BotBase from bot-core
| * Refactor a try/except that will never raiseGravatar Chris Lovering2022-04-20-6/+5
| |
| * Automatically determine number threads to use with pytestGravatar Chris Lovering2022-04-20-4/+4
| |
| * Don't use internal discord.py methods for available help channels messageGravatar Chris Lovering2022-04-20-10/+6
| |
| * Use fully qualified datetime.time()Gravatar Chris Lovering2022-04-20-2/+2
| | | | | | | | This is to remove possible confusion with time.time
| * remove unneeded import in testsGravatar Chris Lovering2022-04-20-1/+0
| |
| * Remove unneeded contextlib.suppressGravatar Chris Lovering2022-04-20-5/+4
| |
| * Don't hardcode ! as the bot prefix where possibleGravatar Chris Lovering2022-04-20-13/+16
| |
| * Pass the now required intents kwarg when creating MockBotGravatar Chris Lovering2022-04-19-0/+1
| |
| * Utilise new on_thread_create event for modlogGravatar Chris Lovering2022-04-19-6/+1
| |
| * Bump bot-core for new discord.py versionGravatar Chris Lovering2022-04-19-7/+7
| |
| * Ensure error has an attr before checking the value in metabaseGravatar Chris Lovering2022-04-19-1/+1
| |
| * Empty embed descriptions are now None, rather than a sentinalGravatar Chris Lovering2022-04-19-1/+1
| |
| * channel.history is now an async iterator, so has no .next() methodGravatar Chris Lovering2022-04-19-2/+3
| |
| * Don't pass unused param to infraction scheduler cog_loadGravatar Chris Lovering2022-04-19-1/+1
| |
| * Don't schedule a now non-existant taskGravatar Chris Lovering2022-04-19-7/+0
| |
| * Move api_client to a kwarg on creation of the BotGravatar Chris Lovering2022-04-19-8/+8
| |
| * Remove old task cancellations from modpings cog_unloadGravatar Chris Lovering2022-04-18-4/+1
| |
| * Remove unused instance var from OTN cogGravatar Chris Lovering2022-04-18-1/+0
| |
| * Add missing underscores to test function namesGravatar Chris Lovering2022-04-18-3/+3
| |
| * Test that sync cog syncers run when sync cog is loadedGravatar Chris Lovering2022-04-18-0/+13
| |
| * Refactor otn cog to use discord.py tasksGravatar Chris Lovering2022-04-18-35/+30
| |
| * Use discord.py's async cog loading for more cogsGravatar Chris Lovering2022-04-18-15/+6
| | | | | | | | In the case of the docs cog, the lock is not needed on the cog_load function as it is ran before the bot even starts listening for commands.
| * Add cog_unload functions to cancel scheduled tasksGravatar Chris Lovering2022-04-18-0/+12
| |
| * Hardcode 8 test threads in CIGravatar Chris Lovering2022-04-18-1/+1
| | | | | | | | This is needed due to the removal of psutil
| * Move redis session reconnect to bot-coreGravatar Chris Lovering2022-04-18-26/+23
| |
| * Correct capitalisation of async and discord.pyGravatar Chris Lovering2022-04-18-3/+3
| |
| * Wait for mod log to load when syncing defcon settingsGravatar Chris Lovering2022-04-18-0/+16
| |
| * Remove usages of init_task in thread bumper cogGravatar Chris Lovering2022-04-18-8/+0
| |
| * Don't try to overwrite a read-only attr in help command testGravatar Chris Lovering2022-04-18-1/+1
| |
| * Remove sync cog init testGravatar Chris Lovering2022-04-18-17/+0
| | | | | | | | Discord.py now implicitly calls the new async cog_load function from within it's internals on load. There is no longer a need to test that this happens.
| * Update tests to use new async cog_load functionGravatar Chris Lovering2022-04-18-25/+17
| |
| * Update tests to use new async cog setup functionGravatar Chris Lovering2022-04-18-29/+28
| |
| * Update test helpers with breaking d.py changesGravatar Chris Lovering2022-04-18-1/+5
| | | | | | | | | | | | | | region was removed from the guild object, so this has been replaced with features add_cog is now async, so it is now an async_mock during tests Two new required voice_channel attrs were added channel.type is required to be set to ChannelType due to a new isinstance check in d.py
| * Adding missing kwargs required by BotBase in test helperGravatar Chris Lovering2022-04-18-0/+3
| |
| * Remove async stats and site api wrapperGravatar Chris Lovering2022-04-18-229/+22
| | | | | | | | We now source them from bot-core, so no need to have them here too.