SlashCommand.options - shysolocup/noscord.js GitHub Wiki

options for the slash command
type: Array

let options = [
    { name: "user", desc: "test user", type: "user", required: true },
    { name: "boolean", desc: "test bool", type: "bool", required: false }
];


commands.create("example1", "example desc", options);

commands.create({ name: "example2", desc: "example desc", options: options });


⚠️ **GitHub.com Fallback** ⚠️