Closed NavaShield closed 1 year ago
i've tried
const { SlashCommandBuilder } = require("discord.js"); module.exports = { name: "test", description: "test", type: 1, options: [], permissions: { DEFAULT_MEMBER_PERMISSIONS: "SendMessages" }, run: async (client, interaction, config, db) => { const data = new SlashCommandBuilder() .setName('echo') .setDescription('Replies with your input!') .addStringOption(option => option.setName('input') .setDescription('The input to echo back')); }, };
but the input option doesnt show up
https://github.com/TFAGaming/DiscordJS-V14-Bot-Template/wiki#slash-commands-options Check the wiki here. There will be all info you need for it
i've tried
but the input option doesnt show up