Documentation ¶
Index ¶
- type Theia
- func (t *Theia) Inject(name string, cmdDefs []*discordgo.ApplicationCommand, ...) ([]*discordgo.ApplicationCommand, ...)
- func (t *Theia) Send(msg string, editMessage func(string, string) string) (map[string]*discordgo.MessageReference, error)
- func (t *Theia) SendComplex(msg *discordgo.MessageSend, ...) (map[string]*discordgo.MessageReference, error)
- func (t *Theia) SendEmbeds(embeds []*discordgo.MessageEmbed, ...) (map[string]*discordgo.MessageReference, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Theia ¶
type Theia struct {
// contains filtered or unexported fields
}
func (*Theia) Inject ¶
func (t *Theia) Inject(name string, cmdDefs []*discordgo.ApplicationCommand, cmdMap map[string]func(s *discordgo.Session, i *discordgo.InteractionCreate)) ([]*discordgo.ApplicationCommand, map[string]func(s *discordgo.Session, i *discordgo.InteractionCreate))
func (*Theia) SendComplex ¶
func (t *Theia) SendComplex(msg *discordgo.MessageSend, editMessage func(string, *discordgo.MessageSend) *discordgo.MessageSend) (map[string]*discordgo.MessageReference, error)
func (*Theia) SendEmbeds ¶
func (t *Theia) SendEmbeds(embeds []*discordgo.MessageEmbed, editMessage func(string, []*discordgo.MessageEmbed) []*discordgo.MessageEmbed) (map[string]*discordgo.MessageReference, error)
Click to show internal directories.
Click to hide internal directories.