handlers

package
v0.0.0-...-441339d Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MessageHandler

func MessageHandler(session *discordgo.Session, msg *discordgo.MessageCreate)

MessageHandler handles all of the message in a discord server.

func ReadyHandler

func ReadyHandler(session *discordgo.Session, event *discordgo.Ready)

ReadyHandler handles setting the status displayed under the bot name on the sidebar of the server.

func SetLogging

func SetLogging(status bool)

SetLogging sets the local `logging` variable which decides if logging information should be printed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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