Documentation ¶
Index ¶
- func ClearParticipantsCommand() commands.Command
- func EventAddCommand() commands.Command
- func EventCommand() commands.Command
- func HandleAddEvent(msg string, s *discordgo.Session, m *discordgo.MessageCreate, db *sql.DB, ...)
- func HandleClearParticipants(msg string, s *discordgo.Session, m *discordgo.MessageCreate, db *sql.DB, ...)
- func HandleEvent(msg string, s *discordgo.Session, m *discordgo.MessageCreate, db *sql.DB, ...)
- func HandleHelp(msg string, s *discordgo.Session, m *discordgo.MessageCreate, db *sql.DB, ...)
- func HandleListParticipants(msg string, s *discordgo.Session, m *discordgo.MessageCreate, db *sql.DB, ...)
- func HandleOptIn(msg string, s *discordgo.Session, m *discordgo.MessageCreate, db *sql.DB, ...)
- func HandleOptOut(msg string, s *discordgo.Session, m *discordgo.MessageCreate, db *sql.DB, ...)
- func HandlePing(msg string, s *discordgo.Session, m *discordgo.MessageCreate, db *sql.DB, ...)
- func HandleSetOptIn(msg string, s *discordgo.Session, m *discordgo.MessageCreate, db *sql.DB, ...)
- func HandleSetRoles(msg string, s *discordgo.Session, m *discordgo.MessageCreate, db *sql.DB, ...)
- func HandleStatus(msg string, s *discordgo.Session, m *discordgo.MessageCreate, db *sql.DB, ...)
- func HelpCommand() commands.Command
- func InitEvent(s *discordgo.Session, db *sql.DB)
- func ListParticipantsCommand() commands.Command
- func OptInCommand() commands.Command
- func OptOutCommand() commands.Command
- func PingCommand() commands.Command
- func SetOptInCommand() commands.Command
- func SetRolesCommand() commands.Command
- func StatusCommand() commands.Command
- type Role
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearParticipantsCommand ¶
ClearParticipantsCommand for clearing the participation list.
func EventAddCommand ¶
func HandleAddEvent ¶
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 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 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 HandleStatus ¶
func ListParticipantsCommand ¶
ListParticipantsCommand for listing members interest in joining the next WS.
func OptOutCommand ¶
OptOutCommand for opting out of white stars.
func SetOptInCommand ¶
SetOptInCommand for opting in other members to white stars.
func SetRolesCommand ¶
ClearParticipantsCommand for clearing the participation list.
func StatusCommand ¶
StatusCommand for setting OutBot's status.