Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageHandler ¶
type MessageHandler struct{}
MessageHandler holds config options
func NewMessageHandler ¶
func NewMessageHandler() *MessageHandler
NewMessageHandler returns anew MessageHandler.
func (*MessageHandler) Handle ¶
func (h *MessageHandler) Handle(s *discordgo.Session, e *discordgo.MessageCreate)
Handle handles newly created messages.
type ReadyHandler ¶
type ReadyHandler struct{}
ReadyHandler holds config options required for the bot startup
func NewReadyHandler ¶
func NewReadyHandler() *ReadyHandler
NewReadyHandler returns a new ReadyHandler.
type VoiceStateUpdateHandler ¶
type VoiceStateUpdateHandler struct{}
VoiceStateUpdateHandler holds config options.
func NewVoiceStateUpdateHandler ¶
func NewVoiceStateUpdateHandler() *VoiceStateUpdateHandler
NewVoiceStateUpdateHandler returns a new VoiceStateUpdateHandler.
func (*VoiceStateUpdateHandler) Handle ¶
func (h *VoiceStateUpdateHandler) Handle(s *discordgo.Session, e *discordgo.VoiceStateUpdate)
Handle handles the discordgo.VoiceStateUpdate event
Click to show internal directories.
Click to hide internal directories.