Interface ChatInputCommandsRegisterOptions

Options for registering slash commands.

Hierarchy

  • ChatInputCommandsRegisterOptions

Properties

commands: {
    ChatInputCommands: string;
}

The directory containing the slash command modules.

Type declaration

  • ChatInputCommands: string
guildId?: string

The ID of the guild to register commands in. If not specified, the global application commands will be registered instead.

logLevel?: LogLevel

The logging level.

Default Value

LogLevel.ERROR

token: string

The Discord bot token.

Generated using TypeDoc