Skip to main content

Help Command

We added HelpCommand class to add a default help command.

const { Erine, HelpCommand, GatewayIntentBits } = require("erine");

const bot = new Erine({
intents: [
GatewayIntentBits.Guilds,
GatewayIntentBits.GuildMessages,
GatewayIntentBits.MessageContent
],
helpCommand: HelpCommand, // Now !help is usable.
prefix: "!"
});

bot.login("...");