Skip to content
GitHub

ChatInputOptions

interface in meocord/testing Since 4.0.0

interface ChatInputOptions

The options of a mock slash command, as createChatInputOptions takes them: each value by its option's name.

A value is a string, a number or a boolean, or a user, member, role, channel or attachment for an entity option.

Members

subcommandGroup

subcommandGroup?: string | null

The subcommand group the command was used through.

subcommand

subcommand?: string | null

The subcommand the command was used through.

focused

focused?: string | null

The option the user is currently typing, for autocomplete interactions.