Commit message (Collapse) | Author | Lines | ||
---|---|---|---|---|
2022-04-19 | Bump bot-core for new discord.py version | -7/+7 | ||
2022-04-19 | Ensure error has an attr before checking the value in metabase | -1/+1 | ||
2022-04-19 | Empty embed descriptions are now None, rather than a sentinal | -1/+1 | ||
2022-04-19 | channel.history is now an async iterator, so has no .next() method | -2/+3 | ||
2022-04-19 | Don't pass unused param to infraction scheduler cog_load | -1/+1 | ||
2022-04-19 | Don't schedule a now non-existant task | -7/+0 | ||
2022-04-19 | Move api_client to a kwarg on creation of the Bot | -8/+8 | ||
2022-04-18 | Remove old task cancellations from modpings cog_unload | -4/+1 | ||
2022-04-18 | Remove unused instance var from OTN cog | -1/+0 | ||
2022-04-18 | Add missing underscores to test function names | -3/+3 | ||
2022-04-18 | Test that sync cog syncers run when sync cog is loaded | -0/+13 | ||
2022-04-18 | Refactor otn cog to use discord.py tasks | -35/+30 | ||
2022-04-18 | Use discord.py's async cog loading for more cogs | -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. | ||||
2022-04-18 | Add cog_unload functions to cancel scheduled tasks | -0/+12 | ||
2022-04-18 | Hardcode 8 test threads in CI | -1/+1 | ||
This is needed due to the removal of psutil | ||||
2022-04-18 | Move redis session reconnect to bot-core | -26/+23 | ||
2022-04-18 | Correct capitalisation of async and discord.py | -3/+3 | ||
2022-04-18 | Wait for mod log to load when syncing defcon settings | -0/+16 | ||
2022-04-18 | Remove usages of init_task in thread bumper cog | -8/+0 | ||
2022-04-18 | Don't try to overwrite a read-only attr in help command test | -1/+1 | ||
2022-04-18 | Remove sync cog init test | -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. | ||||
2022-04-18 | Update tests to use new async cog_load function | -25/+17 | ||
2022-04-18 | Update tests to use new async cog setup function | -29/+28 | ||
2022-04-18 | Update test helpers with breaking d.py changes | -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 | ||||
2022-04-18 | Adding missing kwargs required by BotBase in test helper | -0/+3 | ||
2022-04-18 | Remove async stats and site api wrapper | -229/+22 | ||
We now source them from bot-core, so no need to have them here too. | ||||
2022-04-18 | Discord.py breaking changes | -7/+9 | ||
bot.http.send_message and edit_message now require a context manager to handle params. tasks.Loop no longer accepts a loop param on its init. | ||||
2022-04-18 | Use BotBase from bot-core | -283/+84 | ||
2022-04-18 | Move to async cog loading | -223/+158 | ||
2022-04-18 | Don't use discord.NoMoreItems as it's removed | -3/+3 | ||
This has been removed in favour of Python's built-in StopAsyncIteration error | ||||
2022-04-18 | Use bot-core scheduling and member util functions | -323/+53 | ||
2022-04-18 | Bump d.py and bot-core | -7/+12 | ||
2022-04-18 | Bump all deps and exact version pin. | -303/+503 | ||
Exact versioning has been chosen to be more explicit in what versions we require. We will be using dependabot in github to ensure these versions are kept up to date. | ||||
2022-04-18 | Remove aio-pika and psutil | -381/+432 | ||
aio-pika was used in the RabbitMQ cog (added in https://github.com/python-discord/bot/pull/90) which has since been deleted. It is no longer used. psutil was used to automatically determine how many threads to use when testing. However, this package has been quite slow to publish wheels for new Python versions. Since we don't use it for anything mission critical, I have removed it and hardcoded the number of threads to use when when testing to 8. An error is not raised it the number of threads used exceeds the number of actual threads available. | ||||
2022-04-05 | Parse infraction search reason as regex before calling site (#2126) | -0/+6 | ||
Previously this would raise an error within site due to the invalid regexp. | ||||
2022-04-03 | Update bot/resources/tags/type-hint.md | -1/+1 | ||
Co-authored-by: ChrisJL <[email protected]> | ||||
2022-04-02 | Replaced resources.md with Resources Cog | -6/+70 | ||
We can use this cog to get a URL with resources filtered by the terms input by the user in the Discord command. | ||||
2022-03-31 | feat: add created at field for message deleted log (#2122) | -1/+5 | ||
2022-03-31 | Update type-hint.md | -7/+7 | ||
2022-03-31 | Update to canonical PEP URLs | -19/+19 | ||
2022-03-30 | Remove modlog ignore for voice verif | -2/+1 | ||
When a user leaves and rejoins, and then asks for the voice verification role back in modmail, we want a way to see if they have every been given the role. By removing this modlog ignore, it allows us to check the user-log channel for user updates to see if they were ever assigned the role. | ||||
2022-03-26 | Remove mod_log.ignore of invocations of the voice verify command | -4/+0 | ||
2022-03-18 | apply decorator on superstarify too | -0/+2 | ||
2022-03-18 | try-except to prevent a TypeError instead of `if isinstance` | -2/+5 | ||
2022-03-18 | rename function to be more generic | -17/+17 | ||
2022-03-15 | Revert "Migrate from Discord.py to disnake" | -205/+190 | ||
This reverts commit a30f8856cc24e6b42fc86ab972d605bfe2562075. | ||||
2022-03-15 | Revert "Update all references of discord.py to disnake" | -735/+734 | ||
This reverts commit 960619c23300c56c8aaa454edc7241e2badf80ad. | ||||
2022-03-15 | Revert "Migrate to use monkey patches from botcore" | -191/+202 | ||
This reverts commit ab073c89ad37c26eb4103ef0ca58e16421bca875. | ||||
2022-03-15 | Revert "No longer use Interaction.message, as it was removed from disnake" | -11/+15 | ||
This reverts commit a1c73b5eca88d1b92cd42d3c41183387209461b9. | ||||
2022-03-14 | Increase watch API call limit to 10,000 | -1/+1 | ||
By default, the site infractions query API will only return 100 records, but we have more active watches than this meaning that the response truncated active infractions and so the bigbrother cog was not initialising with all active watches. This change ensures that up to 10,000 watches are fetched instead meaning no infractions will be truncated and missed. |