commands

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteCommand

func ExecuteCommand(s *discordgo.Session, m *discordgo.Message, BotPrefix string, t0 time.Time)

ExecuteCommand External handler for chat commands

func HandleInfoCommand

func HandleInfoCommand(s *discordgo.Session, m *discordgo.Message, t0 time.Time)

HandleInfoCommand handles everything related to info command

func HandleItemLevelCommand

func HandleItemLevelCommand(s *discordgo.Session, m *discordgo.Message)

func HandleLastCommand

func HandleLastCommand(s *discordgo.Session, m *discordgo.Message)

HandleLastCommand displays information about warcraft logs

func HandlePingCommand

func HandlePingCommand(s *discordgo.Session, m *discordgo.Message)

HandlePingCommand is for !ping

func HandlePongCommand

func HandlePongCommand(s *discordgo.Session, m *discordgo.Message)

HandlePongCommand is for !pong

func HandleRaiderIOCommand

func HandleRaiderIOCommand(s *discordgo.Session, m *discordgo.Message)

HandleRaiderIOCommand is for !raider.io

func HandleUnknownCommand

func HandleUnknownCommand(s *discordgo.Session, m *discordgo.Message, msg string)

HandleUnknownCommand is the default for any commands not listed

Types

This section is empty.

Jump to

Keyboard shortcuts

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