Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Utilise new on_thread_create event for modlog | 2022-04-19 | -6/+1 | |
| | ||||
* | Bump bot-core for new discord.py version | 2022-04-19 | -7/+7 | |
| | ||||
* | Ensure error has an attr before checking the value in metabase | 2022-04-19 | -1/+1 | |
| | ||||
* | Empty embed descriptions are now None, rather than a sentinal | 2022-04-19 | -1/+1 | |
| | ||||
* | channel.history is now an async iterator, so has no .next() method | 2022-04-19 | -2/+3 | |
| | ||||
* | Don't pass unused param to infraction scheduler cog_load | 2022-04-19 | -1/+1 | |
| | ||||
* | Don't schedule a now non-existant task | 2022-04-19 | -7/+0 | |
| | ||||
* | Move api_client to a kwarg on creation of the Bot | 2022-04-19 | -8/+8 | |
| | ||||
* | Remove old task cancellations from modpings cog_unload | 2022-04-18 | -4/+1 | |
| | ||||
* | Remove unused instance var from OTN cog | 2022-04-18 | -1/+0 | |
| | ||||
* | Add missing underscores to test function names | 2022-04-18 | -3/+3 | |
| | ||||
* | Test that sync cog syncers run when sync cog is loaded | 2022-04-18 | -0/+13 | |
| | ||||
* | Refactor otn cog to use discord.py tasks | 2022-04-18 | -35/+30 | |
| | ||||
* | Use discord.py's async cog loading for more cogs | 2022-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 tasks | 2022-04-18 | -0/+12 | |
| | ||||
* | Hardcode 8 test threads in CI | 2022-04-18 | -1/+1 | |
| | | | | This is needed due to the removal of psutil | |||
* | Move redis session reconnect to bot-core | 2022-04-18 | -26/+23 | |
| | ||||
* | Correct capitalisation of async and discord.py | 2022-04-18 | -3/+3 | |
| | ||||
* | Wait for mod log to load when syncing defcon settings | 2022-04-18 | -0/+16 | |
| | ||||
* | Remove usages of init_task in thread bumper cog | 2022-04-18 | -8/+0 | |
| | ||||
* | Don't try to overwrite a read-only attr in help command test | 2022-04-18 | -1/+1 | |
| | ||||
* | Remove sync cog init test | 2022-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 function | 2022-04-18 | -25/+17 | |
| | ||||
* | Update tests to use new async cog setup function | 2022-04-18 | -29/+28 | |
| | ||||
* | Update test helpers with breaking d.py changes | 2022-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 helper | 2022-04-18 | -0/+3 | |
| | ||||
* | Remove async stats and site api wrapper | 2022-04-18 | -229/+22 | |
| | | | | We now source them from bot-core, so no need to have them here too. | |||
* | Discord.py breaking changes | 2022-04-18 | -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. | |||
* | Use BotBase from bot-core | 2022-04-18 | -283/+84 | |
| | ||||
* | Move to async cog loading | 2022-04-18 | -223/+158 | |
| | ||||
* | Don't use discord.NoMoreItems as it's removed | 2022-04-18 | -3/+3 | |
| | | | | This has been removed in favour of Python's built-in StopAsyncIteration error | |||
* | Use bot-core scheduling and member util functions | 2022-04-18 | -323/+53 | |
| | ||||
* | Bump d.py and bot-core | 2022-04-18 | -7/+12 | |
| | ||||
* | Bump all deps and exact version pin. | 2022-04-18 | -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. | |||
* | Remove aio-pika and psutil | 2022-04-18 | -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. | |||
* | Parse infraction search reason as regex before calling site (#2126) | 2022-04-05 | -0/+6 | |
| | | | Previously this would raise an error within site due to the invalid regexp. | |||
* | Merge pull request #1943 from jonathan-d-zhang/type-hint-tag | 2022-04-03 | -0/+19 | |
|\ | | | | | Make type-hint tag | |||
| * | Merge branch 'main' into type-hint-tag | 2022-04-03 | -1926/+3812 | |
| |\ | |/ |/| | ||||
* | | Merge pull request #2069 from GDWR/feature/ping_on_bad_words_in_username | 2022-04-03 | -12/+17 | |
|\ \ | | | | | | | Ping Moderators On Bad Words In Username, Also Checks For Bad Words When Joining Or Switching Voicechannels | |||
| * \ | Merge branch 'main' into feature/ping_on_bad_words_in_username | 2022-04-03 | -19/+19 | |
| |\ \ | |/ / |/| | | ||||
* | | | Merge pull request #2123 from hugovk/update-peps-url | 2022-04-03 | -19/+19 | |
|\ \ \ | | | | | | | | | Update to canonical PEP URLs | |||
| * \ \ | Merge branch 'main' into update-peps-url | 2022-04-03 | -177/+381 | |
| |\ \ \ | |/ / / |/| | | | ||||
| * | | | Update to canonical PEP URLs | 2022-03-31 | -19/+19 | |
| | | | | ||||
| | * | | Merge branch 'main' into feature/ping_on_bad_words_in_username | 2022-04-03 | -436/+1210 | |
| | |\ \ | |_|/ / |/| | | | ||||
* | | | | Merge pull request #2117 from iamericfletcher/2079 | 2022-04-03 | -6/+70 | |
|\ \ \ \ | | | | | | | | | | | Add Resources Command | |||
| * \ \ \ | Merge branch 'main' into 2079 | 2022-04-03 | -178/+357 | |
| |\ \ \ \ | |/ / / / |/| | | | | ||||
* | | | | | feat: add created at field for message deleted log (#2122) | 2022-03-31 | -1/+5 | |
| | | | | | ||||
* | | | | | Merge pull request #1602 from python-discord/feat/timeit-command | 2022-03-31 | -170/+306 | |
|\ \ \ \ \ | |_|/ / / |/| | | | | Add the timeit command | |||
| * | | | | Merge branch 'main' into feat/timeit-command | 2022-03-31 | -204/+806 | |
| |\ \ \ \ | |/ / / / |/| | | | | ||||
* | | | | | Merge pull request #2111 from python-discord/log-voice-role-assignments | 2022-03-30 | -2/+1 | |
|\ \ \ \ \ | | | | | | | | | | | | | Remove modlog ignore for voice verifcation |