try to fix intents
This commit is contained in:
parent
7d9ca51b4f
commit
070bf5d069
1 changed files with 3 additions and 5 deletions
8
bot.py
8
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']
|
||||
|
|
Loading…
Reference in a new issue