events

package
v0.0.0-...-a615a7d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

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

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.

func (*ReadyHandler) Handle

func (h *ReadyHandler) Handle(s *discordgo.Session, e *discordgo.Ready)

Handle handles the discordgo.Ready event

type VoiceStateUpdateHandler

type VoiceStateUpdateHandler struct{}

VoiceStateUpdateHandler holds config options.

func NewVoiceStateUpdateHandler

func NewVoiceStateUpdateHandler() *VoiceStateUpdateHandler

NewVoiceStateUpdateHandler returns a new VoiceStateUpdateHandler.

func (*VoiceStateUpdateHandler) Handle

Handle handles the discordgo.VoiceStateUpdate event

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL