CommandService - shysolocup/noscord.js GitHub Wiki

section for creating and slash commands
type: AeplSubClass

client.import("commands");


commands.create("ping", "replies with pong", (ctx) => {
    ctx.reply("Pong!");
});

Properties

Methods

Classes

🛈 list 🛈 create() 🛈 SlashCommand
🛈 optionType()


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