14 Replies
Refer to this thread, it will work for what you're trying to do.
https://discord.com/channels/737141877803057244/1136279424896073829
Though the thread is titled Remove application commands, the same solution works for updating too.
this might be a basic question but I stopped using sapphire and generally coding for 4+ months, but where is "RegisterOption" mentioned in the thread?
Uncle Favna shows you a snippet in this thread (which is also shown in the thread I linked)
https://discord.com/channels/737141877803057244/1135960507078156310
it logged this:
[INFO] ApplicationCommandRegistries(BulkOverwrite) Successfully overwrote global application commands. The application now has 0 global commands
but the bot still does not create the slash commandShow me the full code for your ping command file
Show me your package.json too
a
That's not where you set the register behaviour, you set it in the SapphireClient as I stated in the thread I linked
inside
const client = new SapphireClient({})
?No, I do it inside the login method
do you mean something like this:
This is from one of my bots:
worked ty
@_carlos123 in the future, it might be helpful to keep the name of the forum post and the problem details, so it's easier for others to find if they have a similar problem. 🙂
oh okay