Skip to content

Commit

Permalink
Fixed required intents
Browse files Browse the repository at this point in the history
  • Loading branch information
Luois45 committed Feb 15, 2023
1 parent 59d2b40 commit 7477d6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discord-shop.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
class aclient(discord.Client):

def __init__(self):
super().__init__(intents=discord.Intents.all())
super().__init__(intents=discord.Intents(messages=True, guilds=True))
self.synced = False

async def on_ready(self):
Expand Down

0 comments on commit 7477d6d

Please sign in to comment.