Accessing all commands array
How to access all commands array with their options (of discord api application command) to do something like help command ?
Solution:Jump to solution
Sapphire data: https://discord.com/channels/737141877803057244/737142209639350343/1151595641307414579
Discord API Data:
client.application.commands
: https://old.discordjs.dev/#/docs/discord.js/main/class/ApplicationCommandManager...Discord.js
Discord.js is a powerful node.js module that allows you to interact with the Discord API very easily. It takes a much more object-oriented approach than most other JS Discord libraries, making your bot's code significantly tidier and easier to comprehend.
1 Reply
Solution
Sapphire data: https://discord.com/channels/737141877803057244/737142209639350343/1151595641307414579
Discord API Data:
client.application.commands
: https://old.discordjs.dev/#/docs/discord.js/main/class/ApplicationCommandManagerDiscord.js
Discord.js is a powerful node.js module that allows you to interact with the Discord API very easily. It takes a much more object-oriented approach than most other JS Discord libraries, making your bot's code significantly tidier and easier to comprehend.