Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Application ¶ added in v1.3.0
type ButtonClickRequestData ¶
type ButtonClickRequestData struct{}
type Command ¶
type Command struct { Type int `json:"type"` ID string `json:"id"` ApplicationID string `json:"application_id"` Name string `json:"name"` Version string `json:"version"` Options []CommandOption `json:"options"` IntegrationTypes []int `json:"integration_types"` GlobalPopularityRank int `json:"global_popularity_rank"` }
type CommandOption ¶
type CommandRunOption ¶
type CommandRunOption struct { Type int `json:"type"` Name string `json:"name"` Value string `json:"value"` Options []CommandRunOption `json:"options"` }
type CommandSearchResponse ¶
type CommandSearchResponse struct { Commands []Command `json:"application_commands"` Applications []Application `json:"applications"` }
type ComponentInteractRequest ¶
type ComponentInteractRequest struct { Type discordgo.InteractionType `json:"type"` Flags int `json:"message_flags"` SessionID string `json:"session_id"` Nonce string `json:"nonce"` GuildID string `json:"guild_id"` ChannelID string `json:"channel_id"` MessageID string `json:"message_id"` BotID string `json:"application_id"` Data interface{} `json:"data"` }
type GuildChannel ¶
type SelectMenuSelectRequestData ¶
type SelectMenuSelectRequestData struct { Type discordgo.SelectMenuType `json:"type"` Values []string `json:"values"` }
Click to show internal directories.
Click to hide internal directories.