#Slash commands not appearing on server

1 messages · Page 1 of 1 (latest)

tranquil turtle
#

ive been trying to get this working for like 3 hours now. i even started just copy pasting the sample commands from the docs and they didnt register either. its probably somthing stupid that im too sleep deprived to see

young terrace
tranquil turtle
#

yes

young terrace
# tranquil turtle yes

Try to do this: from discord.commands import slash_command and use slash_command instead of discord.slash_command

tranquil turtle
#

nope still not showing up

young terrace
#

Also the cog is loading successfully right?

tranquil turtle
tranquil turtle
young terrace
#

Use @commands.Cog.listener for the decorator

tranquil turtle
young terrace
#

Hmmm

#

Are u sure the server id is correct?

tranquil turtle
earnest ether
#

read the docs

tranquil turtle
#

am now

earnest ether
#

should be cool now

tranquil turtle
#

yep that worked. i even looked at that before and thought it wasnt what i was looking for. i need sleep lol. thanks so much @young terrace and @earnest ether for your time and help!

young terrace