commands

package
v0.0.0-...-31c99b1 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleAddRemindCommand

func HandleAddRemindCommand(s *discordgo.Session, m *discordgo.MessageCreate, content []string)

HandleAddRemindCommand insert a new remind for a user

func HandleDefaultCommand

func HandleDefaultCommand(s *discordgo.Session, m *discordgo.MessageCreate)

HandleDefaultCommand handles commands that couldn't be recognized

func HandleDeleteRemindCommand

func HandleDeleteRemindCommand(ctx context.Context, s *discordgo.Session, m *discordgo.MessageCreate, content []string)

HandleDeleteRemindCommand handles deletion of user's remind

func HandleGetLastRemindCommand

func HandleGetLastRemindCommand(s *discordgo.Session, m *discordgo.MessageCreate)

HandleGetLastRemindCommand get the user's last remind

func HandleGetRemindsCommand

func HandleGetRemindsCommand(ctx context.Context, s *discordgo.Session, m *discordgo.MessageCreate)

HandleGetRemindsCommand get all the user's reminds

func HandleHelpCommand

func HandleHelpCommand(s *discordgo.Session, m *discordgo.MessageCreate)

HandleHelpCommand handles the help message

func HandlePingCommand

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

HandlePingCommand is the basic command to know if the server is Up

Types

This section is empty.

Jump to

Keyboard shortcuts

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