From 3c5fead8b04913388f127da6b9573a97338f47f3 Mon Sep 17 00:00:00 2001 From: c0de Date: Thu, 27 Oct 2022 00:04:54 -0500 Subject: [PATCH] Allow the bot to see channel messages --- GhostBallBot/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/GhostBallBot/main.py b/GhostBallBot/main.py index 3c34413..7ebc396 100644 --- a/GhostBallBot/main.py +++ b/GhostBallBot/main.py @@ -6,6 +6,7 @@ import os +from discord import Intents from discord_client.client import GhostBallClient from database.models import DATABASE, database, create_models @@ -16,5 +17,5 @@ if __name__ == "__main__": create_models() database.close() - client = GhostBallClient(intents=None) + client = GhostBallClient(intents=Intents.all()) client.run(os.environ.get("discord_token"))