#Slash commands in a group arent taking str and int arguments

1 messages · Page 1 of 1 (latest)

ebon dirge
#

code?

#

do you have the code from a command which doesn´t work?

#

any errors?

#

Im not sure if slash commands has a limit of fields

clear trench
#

can you show the full file, and remove the discord.Interaction typehint?

#

dont leak token okthx

#

can you try pip install py-cord==2.0.1

#

are you sure it's installing to the right location on your host

#

what happens when you print(discord.__version__)

#

inside your bot...

#

what is the exact python version

#

can you instead do py -3.10 -m pip install py-cord==2.0.1

#

no that's exactly what i mean

#

py -3.10 -m pip runs pip on a specific python installation

#

bruh

#

fair enough, what about python-3.10 -m pip install py-cord==2.0.1

elder knot
#

I’m pretty sure you have to make the parameters actual options: Option(…)