I cant setup the bot in my server
Closed this issue · 7 comments
which command was used when the error occured?
as i guess in cogs/voice.py there is ctx.guild.owner,id
in line 100 and 137,
it makes the error because the code doesnt have the bot's intent
you need to change in voicecreate.py
bot = commands.Bot(command_prefix=".", intents=discord.Intents.all())
The error says that you need to enable intents on the developer portal
maybe you can enable it at here
you need to check both member and presence to use discord.Intents.all()
actually u can just do
intents=discord.Intents.default()
intents.member=True
bot = commands.Bot(command_prefix='!', intents=intents)
like this if you only enable members
actually u can just do
intents=discord.Intents.default() intents.member=True bot = commands.Bot(command_prefix='!', intents=intents)like this if you only enable members
Well then I'll have to contact support for this as my bot was already approved some time ago....
Thank you for the help!
i hope you get a good result