DankoOfficial/Loxy-Loxy

Add Intents to the Bot Config

King-Noob-Show opened this issue · 1 comments

This is my first ever 'issue' so sorry if its bad.

In main.py, at Line 1,

From:

from discord import Activity, ActivityType, Embed

Make it:

from discord import Activity, ActivityType, Embed, Intents

AND

In main.py, at Line 16,

From:

client = commands.Bot(command_prefix=prefix)

Make it:

client = commands.Bot(command_prefix=prefix, intents=Intents.all())

This makes it so the bot uses the new "Intents" system that discord uses and doesn't give an error when starting.

Okay, thank you so much! Will be updated soon