Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelType ¶
type ChannelType int
type CommandDetails ¶
type ConfirmPermissionParams ¶
type Interaction ¶
type InteractionNames ¶
type InteractionNames struct { Options []struct { Name string `json:"name"` } `json:"options"` }
type InteractionParams ¶
type InteractionType ¶
type InteractionType int
type Option ¶
type Option struct { Type OptionType `json:"type"` Name string `json:"name"` Description string `json:"description"` Required bool `json:"required"` Choices []OptionChoice `json:"choices"` Options []Option `json:"options"` ChannelTypes []ChannelType `json:"channel_types"` MinValue float64 `json:"min_value"` MaxValue float64 `json:"max_value"` Autocomplete bool `json:"autocomplete"` }
type OptionChoice ¶
type OptionType ¶
type OptionType int
type Permission ¶
type Permission struct { ID string `json:"id"` Type PermissionType `json:"type"` Permission bool `json:"permission"` }
type PermissionType ¶
type PermissionType int
type TokenResponse ¶
Click to show internal directories.
Click to hide internal directories.