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']