try to fix intents

This commit is contained in:
Aaron Riedel 2022-03-07 03:15:01 +01:00
parent 7d9ca51b4f
commit 070bf5d069
Signed by: aaron
GPG key ID: 643004654D40D577

8
bot.py
View file

@ -19,11 +19,9 @@ def right(s, amount):
def mid(s, offset, amount): def mid(s, offset, amount):
return s[offset:offset+amount] return s[offset:offset+amount]
intents = discord.Intents( intents = discord.Intents.default()
guilds=True, intents.members = True
members=True, intents.message_content = True
messages=True,
)
token = os.environ['TOKEN'] token = os.environ['TOKEN']
prefix = os.environ['PREFIX'] prefix = os.environ['PREFIX']