aboutsummaryrefslogtreecommitdiffstats
path: root/bot/__main__.py
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2022-08-28 18:08:26 +0100
committerGravatar GitHub <[email protected]>2022-08-28 18:08:26 +0100
commit525c547a2ef58c59aa871fdf1f3456cfd19ddfb2 (patch)
tree65aff2484b66b7678a8f8912fc5e288af7805cf6 /bot/__main__.py
parentMerge pull request #1049 from python-discord/bookmark-enhancements (diff)
parentAdd 1<<15 to the raw intents value (diff)
Merge pull request #1094 from python-discord/message-content-intent
Diffstat (limited to 'bot/__main__.py')
-rw-r--r--bot/__main__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bot/__main__.py b/bot/__main__.py
index 0bf7b398..bd6c70ee 100644
--- a/bot/__main__.py
+++ b/bot/__main__.py
@@ -13,4 +13,7 @@ for ext in walk_extensions():
bot.load_extension(ext)
if not Client.in_ci:
+ # Manually enable the message content intent. This is required until the below PR is merged
+ # https://github.com/python-discord/sir-lancebot/pull/1092
+ bot._connection._intents.value += 1 << 15
bot.run(Client.token)