From 070bf5d069c06c105c41307f7f870f41c45392bc Mon Sep 17 00:00:00 2001 From: Aaron Date: Mon, 7 Mar 2022 03:15:01 +0100 Subject: [PATCH] try to fix intents --- bot.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/bot.py b/bot.py index 7e6437e..b109c52 100644 --- a/bot.py +++ b/bot.py @@ -19,11 +19,9 @@ def right(s, amount): def mid(s, offset, amount): return s[offset:offset+amount] -intents = discord.Intents( - guilds=True, - members=True, - messages=True, -) +intents = discord.Intents.default() +intents.members = True +intents.message_content = True token = os.environ['TOKEN'] prefix = os.environ['PREFIX']