From bee63a32f1d8d8ada21d933436ad2ec596004c57 Mon Sep 17 00:00:00 2001 From: Anatole Date: Sun, 20 Oct 2024 12:30:56 +0200 Subject: [PATCH] fix: intents --- src/main.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main.py b/src/main.py index 1ee2034..b12e7f4 100644 --- a/src/main.py +++ b/src/main.py @@ -12,9 +12,7 @@ def run(): if TOKEN is None: sys.exit("Please provide a token in the .env file.") else: - intent = discord.Intents.all() - intent.members = True - intent.message_content = True + intent = discord.Intents.default() bot = SWCodes(intent) bot.run(TOKEN)