Documentation ¶
Index ¶
- type CommandCreate
- type InterActionsCreateFunc
- type Interaction
- func (i *Interaction) GetSession() *discordgo.Session
- func (i *Interaction) SendChannelEmbeds(embeds []*discordgo.MessageEmbed) error
- func (i *Interaction) SendChannelMessage(msg string) error
- func (i *Interaction) SendInteractionResponseEmbeds(embeds []*discordgo.MessageEmbed) error
- func (i *Interaction) SendInteractionResponseMessage(msg string) error
- type Session
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandCreate ¶
type CommandCreate func(i *Interaction)
type InterActionsCreateFunc ¶
type InterActionsCreateFunc func(s *discordgo.Session, i *discordgo.InteractionCreate)
type Interaction ¶
type Interaction struct { *discordgo.Interaction // contains filtered or unexported fields }
func (*Interaction) GetSession ¶
func (i *Interaction) GetSession() *discordgo.Session
func (*Interaction) SendChannelEmbeds ¶
func (i *Interaction) SendChannelEmbeds(embeds []*discordgo.MessageEmbed) error
func (*Interaction) SendChannelMessage ¶
func (i *Interaction) SendChannelMessage(msg string) error
func (*Interaction) SendInteractionResponseEmbeds ¶
func (i *Interaction) SendInteractionResponseEmbeds(embeds []*discordgo.MessageEmbed) error
func (*Interaction) SendInteractionResponseMessage ¶
func (i *Interaction) SendInteractionResponseMessage(msg string) error
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
func NewSession ¶
func (*Session) ApplicationCommandCreate ¶
func (d *Session) ApplicationCommandCreate(createFunc CommandCreate, cmd *discordgo.ApplicationCommand, options ...discordgo.RequestOption) error
func (*Session) NewInteraction ¶
func (d *Session) NewInteraction(interaction *discordgo.Interaction) *Interaction
Click to show internal directories.
Click to hide internal directories.