#i'm new to pycord

1 messages · Page 1 of 1 (latest)

daring parrot
#

recently i'm trying to make another bot for my channel with pycard it's my first time
but now i getting this error
it's says that intents is missing

init() missing 1 required keyword-only argument: 'intents'
File "C:\Users\taha\Desktop\BOT\FireShop\bot.py", line 26, in <module>
client = commands.Bot(command_prefix=commands.when_mentioned_or("!"));

signal steppe
#

The error says your problem…

#

You didn’t define your intents

daring parrot
#

it's working for him

#

without any error

#

@signal steppe line 26

daring parrot
signal steppe
signal steppe
wise shell
#

env or json

daring parrot
wise shell
#

if you use
commands.when_mentioned_or you dont have to add "command_prefix=" anymore

wise shell
signal steppe
#

So my original suggestion… he didn’t define his intents

#

But then why would it work for his friend and not him without defining intents

wise shell
#

Idk, sometimes discord is weird

#

I had server without global slash commands after days soooooooo

daring parrot
#

done

#

tnx

signal steppe
#

👍