#Slash command group not working properly

1 messages · Page 1 of 1 (latest)

solar storm
#

and then this error discord.errors.ApplicationCommandInvokeError: Application Command raised an exception: AttributeError: '_MissingSentinel' object has no attribute

north raft
#

Code?

solar storm
#

looks like this

north raft
#

Did you add imports?

#
import discord
math = discord.SlashCommandGroup("math", "Math related commands")
solar storm
#

yes of course

halcyon aspen
#

py-cord verison?

#
pip show py-cord
solar storm
#

latest

halcyon aspen
#

emmmmm

north raft
#

The code is correct.
pip freeze and paste the results here.

solar storm
#

i know code is correct, i can see the option but I can't give variables