discord.js slash commands suggestions code example
Example: discord.js slash commands
bot.api.applications(bot.user.id).commands.post({
data: {
name: "commandname",
description: "Command Description",
},
});
bot.api.applications(bot.user.id).commands.post({
data: {
name: "commandname",
description: "Command Description",
},
});