#how to use slash commands?
1 messages · Page 1 of 1 (latest)
Don't add guild_ids to the decorator
that's only for debug purposes or to make unqiue slash commands for a few set of guilds
so i read on the pycord docs that not adding that might make the command take an hour to register, is that still the case
You can still add one of your guilds to it to make it register immediately while you're developing. But once you release your bot you need to remove it
after fixing that, i get another error:
the only thing i changed was removing the guild_ids
That error doesn't mean anything without seeing any errors in your terminal
and after adding an error handler, the command doesn't even appear after i type "/"
Why did you add an error handler?
so that i know what error it is
well now it's working
but sometimes it shows and sometimes it doesn't show
That’s just a client thing, try restarting your Discord
And send your updated code
like right now the slash cmd is disappearing after 1 use
that is a discord issue. try restarting/updating discord
do slash commands disappear after 1 use if you have another instance running
that is a likely reason