commands

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Help

func Help(discord *discordgo.Session, message *discordgo.MessageCreate, options *HelpOptions)

Help is in charge of the help command and sends a list of available commands back.

func Ping

func Ping(discord *discordgo.Session, message *discordgo.MessageCreate)

Ping is in charge of the ping command and sends a corresponding message back.

Types

type HelpOptions

type HelpOptions struct {
	Prefix string
}

HelpOptions represents the specific options passed to the Help function.

Jump to

Keyboard shortcuts

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