Documentation
¶
Index ¶
- type Bot
- func (bot *Bot) AddCommands(cmds ...Command)
- func (bot *Bot) RegisterCommands()
- func (bot *Bot) SendChannelMessage(channelName string, message string)
- func (bot *Bot) SendDeveloperMessage(message string)
- func (bot *Bot) SendEmbedMessage(channelName string, message *discordgo.MessageEmbed)
- func (bot *Bot) Stop()
- type Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bot ¶
func (*Bot) AddCommands ¶
func (*Bot) RegisterCommands ¶
func (bot *Bot) RegisterCommands()
func (*Bot) SendChannelMessage ¶
func (*Bot) SendDeveloperMessage ¶
func (*Bot) SendEmbedMessage ¶
func (bot *Bot) SendEmbedMessage(channelName string, message *discordgo.MessageEmbed)
type Command ¶
type Command struct {
Command discordgo.ApplicationCommand
Handler func(s *discordgo.Session, m *discordgo.InteractionCreate)
}
Click to show internal directories.
Click to hide internal directories.