slash cmd
how to add slash cmd
9 Replies
please read the getting started guide https://www.sapphirejs.dev/docs/Guide/getting-started/getting-started-with-sapphire
Sapphire Framework
Getting started with Sapphire | Sapphire
To install Sapphire, you need to install both discord.js and
commands are
loading
but bot is not responding
Need more info really...
When asking for help, make sure to provide as much detail as possible. What have you tried so far? Do you have stack traces that you can show us? What are you trying to achieve? Try to answer these questions and others, so we do not have to ask for them afterwards.
- For a good guide on how to ask questions, see the instructions that StackOverflow gives. You should try to always follow these guidelines.
- For an excellent video that shows how not to ask technical questions, watch this YouTube video by LiveOverflow.
- Asking technical questions (Clarkson)
- How to ask questions the smart way (Raymond)
index,,js
ping
ready.js

Remove
baseUserDirectory
, not only is it an advanced option you are unlikely to need at all, you're also using it incorrectly. See the big red block at the start of the guide.
As for message commands, you need to define your prefix.how to refresh old cmds
slash
outdated
Solution
restart the bot or call commandStore#loadAll