Check if command is a slash command
Currently making a help command, below is code I use to add fields, how do I add a slash in front of the
c.name
if the command is a slash command?Solution:Jump to solution
You can check
command.supportsChatInputcommands()
https://www.sapphirejs.dev/docs/Documentation/api-framework/classes/Command-1#supportschatinputcommands...6 Replies
Solution
You can check
command.supportsChatInputcommands()
https://www.sapphirejs.dev/docs/Documentation/api-framework/classes/Command-1#supportschatinputcommandsman i love the support on this server its always so quick, coming from discord.py its ten times better
i remember your avatar from somewhere..
Our mutuals show only this server and the djs one
do you remember "Ender2K89"? that was my old account, i swear i remember you
It doesn't ring a bell
welp