Skip to content

discohook.option

Classes

Choice

discohook.option.Choice

Option

discohook.option.Option

Represents a base option for an application command. Parameters

name: str The name of the option. Must be a valid python identifier. description: str The description of the option. required: bool Whether the option is required or not. kind: AppCmdOptionType The type of the option.