Documentation ¶
Index ¶
- Variables
- func AskToConnectDiscord(s *discordgo.Session, i *discordgo.InteractionCreate)
- func ErrorWithCommand(s *discordgo.Session, i *discordgo.InteractionCreate)
- func HandleHello(s *discordgo.Session, i *discordgo.InteractionCreate)
- func HandleMilpac(s *discordgo.Session, i *discordgo.InteractionCreate)
- func HandleSync(s *discordgo.Session, i *discordgo.InteractionCreate)
- func HelloCommand() *discordgo.ApplicationCommand
- func MilpacCommand() *discordgo.ApplicationCommand
- func SyncCommand() *discordgo.ApplicationCommand
- type Bot
Constants ¶
This section is empty.
Variables ¶
View Source
var HelloCommandName = "hello"
View Source
var MilpacCommandName = "milpac"
View Source
var SyncCommandName = "sync"
Functions ¶
func AskToConnectDiscord ¶
func AskToConnectDiscord(s *discordgo.Session, i *discordgo.InteractionCreate)
func ErrorWithCommand ¶
func ErrorWithCommand(s *discordgo.Session, i *discordgo.InteractionCreate)
func HandleHello ¶
func HandleHello(s *discordgo.Session, i *discordgo.InteractionCreate)
func HandleMilpac ¶
func HandleMilpac(s *discordgo.Session, i *discordgo.InteractionCreate)
func HandleSync ¶
func HandleSync(s *discordgo.Session, i *discordgo.InteractionCreate)
func HelloCommand ¶
func HelloCommand() *discordgo.ApplicationCommand
func MilpacCommand ¶
func MilpacCommand() *discordgo.ApplicationCommand
func SyncCommand ¶
func SyncCommand() *discordgo.ApplicationCommand
Types ¶
Click to show internal directories.
Click to hide internal directories.