ratz/src/services/chat/discord/commands.go

var createdCommands

type DiscordCommandHandler

func RegisterChatCommand(name, description string, options DiscordCommandOptions, cmd DiscordCommandHandler) *DiscordCommand {}

func RegisterMessageCommand(srv common.ChatServer, cmd DiscordCommandHandler) *DiscordCommand {}

func RegisterUserCommand(srv common.ChatServer, cmd DiscordCommandHandler) *DiscordCommand {}

func (c *DiscordCommand) DeRegisterCommand(guild discordgo.Guild) {}

func RemoveAllDiscordCommands(s *discordgo.Session, guildID string) {}

// RemoveCommands unregisters local commands when ratz shuts down, preventing them from appearing when he is offline, or from them being directed to a prior instance
func (d *DiscordServerSession) RemoveCommands() {}

func (d *DiscordServerSession) RegisterCommands(commandlist []commands.Command) {}

// cmdRouter directs Discord InteractionCreates to registered Command Handlers
func (d *DiscordServerSession) cmdRouter(s *discordgo.Session, i *discordgo.InteractionCreate) {}

func (d *DiscordServerSession) AddCommands(s *discordgo.Session, guildID string) {}