aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2022-04-19 17:23:28 +0100
committerGravatar Chris Lovering <[email protected]>2022-04-19 17:23:28 +0100
commit4c1a076dd0b7c021ac1b352589bb353139f86a6f (patch)
treee48196aaf7e822affe9fd5b08a20d43217a4c17b
parentUtilise new on_thread_create event for modlog (diff)
Pass the now required intents kwarg when creating MockBot
-rw-r--r--tests/helpers.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/helpers.py b/tests/helpers.py
index 2f0c9b4ad..a6e4bdd66 100644
--- a/tests/helpers.py
+++ b/tests/helpers.py
@@ -315,6 +315,7 @@ class MockBot(CustomMockMixin, unittest.mock.MagicMock):
http_session=unittest.mock.MagicMock(),
allowed_roles=[1],
guild_id=1,
+ intents=discord.Intents.all(),
)
additional_spec_asyncs = ("wait_for", "redis_ready")