handlers

package
v0.0.0-...-47431a5 Latest Latest
Warning

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

Go to latest
Published: May 7, 2019 License: MIT Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearParticipantsCommand

func ClearParticipantsCommand() commands.Command

ClearParticipantsCommand for clearing the participation list.

func EventAddCommand

func EventAddCommand() commands.Command

func EventCommand

func EventCommand() commands.Command

EventCommand for reminders.

func HandleAddEvent

func HandleAddEvent(msg string, s *discordgo.Session, m *discordgo.MessageCreate, db *sql.DB, guildID string, cmds []commands.Command)

func HandleClearParticipants

func HandleClearParticipants(msg string, s *discordgo.Session, m *discordgo.MessageCreate, db *sql.DB, guildID string, cmds []commands.Command)

HandleClearParticipants handles clearing the participation list.

func HandleEvent

func HandleEvent(msg string, s *discordgo.Session, m *discordgo.MessageCreate, db *sql.DB, guildID string, cmds []commands.Command)

func HandleHelp

func HandleHelp(msg string, s *discordgo.Session, m *discordgo.MessageCreate, db *sql.DB, guildID string, cmds []commands.Command)

HandleHelp handles the help command.

func HandleListParticipants

func HandleListParticipants(msg string, s *discordgo.Session, m *discordgo.MessageCreate, db *sql.DB, guildID string, cmds []commands.Command)

HandleListParticipants handles the command for listing participants.

func HandleOptIn

func HandleOptIn(msg string, s *discordgo.Session, m *discordgo.MessageCreate, db *sql.DB, guildID string, cmds []commands.Command)

HandleOptIn handles opt in commands.

func HandleOptOut

func HandleOptOut(msg string, s *discordgo.Session, m *discordgo.MessageCreate, db *sql.DB, guildID string, cmds []commands.Command)

HandleOptOut handles opt out commands.

func HandlePing

func HandlePing(msg string, s *discordgo.Session, m *discordgo.MessageCreate, db *sql.DB, guildID string, cmds []commands.Command)

func HandleSetOptIn

func HandleSetOptIn(msg string, s *discordgo.Session, m *discordgo.MessageCreate, db *sql.DB, guildID string, cmds []commands.Command)

HandleSetOptIn handles opt in commands for mentioned users.

func HandleSetRoles

func HandleSetRoles(msg string, s *discordgo.Session, m *discordgo.MessageCreate, db *sql.DB, guildID string, cmds []commands.Command)

func HandleStatus

func HandleStatus(msg string, s *discordgo.Session, m *discordgo.MessageCreate, db *sql.DB, guildID string, cmds []commands.Command)

func HelpCommand

func HelpCommand() commands.Command

HelpCommand for getting help descriptions.

func InitEvent

func InitEvent(s *discordgo.Session, db *sql.DB)

func ListParticipantsCommand

func ListParticipantsCommand() commands.Command

ListParticipantsCommand for listing members interest in joining the next WS.

func OptInCommand

func OptInCommand() commands.Command

OptInCommand for opting in to white stars.

func OptOutCommand

func OptOutCommand() commands.Command

OptOutCommand for opting out of white stars.

func PingCommand

func PingCommand() commands.Command

PingCommand for getting help descriptions.

func SetOptInCommand

func SetOptInCommand() commands.Command

SetOptInCommand for opting in other members to white stars.

func SetRolesCommand

func SetRolesCommand() commands.Command

ClearParticipantsCommand for clearing the participation list.

func StatusCommand

func StatusCommand() commands.Command

StatusCommand for setting OutBot's status.

Types

type Role

type Role string

Jump to

Keyboard shortcuts

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