!Arnavᴰᴱⱽ
DIAdiscord.js - Imagine an app
•Created by !Arnavᴰᴱⱽ on 1/30/2024 in #djs-questions
How do I make subcommands?
So I am trying from to create two subcommands under info. One: info user and other: info server. I am not very sure on how to give different response to each subcommand because if I keep
interaction.reply()
in execute function I am getting same reply for both the sub commands. What function do I use to fetch which sub command has been used??
My code: 8 replies