Generating components
We can generate components using:
sapphire generate <component> <name>
- component: Component name, can be a default one or a custom one
- name: Name of the created component, e.g. the name of your command
Example:
sapphire generate messagecommand HelloWorld
Default components
messagecommand
slashcommand
contextmenucommand
listener
argument
precondition
autocompleteinteractionhandler
buttoninteractionhandler
selectmenuinteractionhandler
modalinteractionhandler
route