Skip to content

Commit

Permalink
fix: intents
Browse files Browse the repository at this point in the history
  • Loading branch information
Okaneeee committed Oct 20, 2024
1 parent 5cb0d0f commit bee63a3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ def run():
if TOKEN is None:
sys.exit("Please provide a token in the .env file.")
else:
intent = discord.Intents.all()
intent.members = True
intent.message_content = True
intent = discord.Intents.default()

bot = SWCodes(intent)
bot.run(TOKEN)
Expand Down

0 comments on commit bee63a3

Please sign in to comment.