Documentation
¶
Index ¶
- func ExecuteCronJob(s *discordgo.Session)
- func GetSlashForceDownloadCommand(cmd string) *discordgo.ApplicationCommand
- func GetSlashReloadContractsCommand(cmd string) *discordgo.ApplicationCommand
- func HandleForceDownloadCommand(s *discordgo.Session, i *discordgo.InteractionCreate)
- func HandleReloadContractsCommand(s *discordgo.Session, i *discordgo.InteractionCreate)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteCronJob ¶
ExecuteCronJob runs the cron jobs for the bot
func GetSlashForceDownloadCommand ¶
func GetSlashForceDownloadCommand(cmd string) *discordgo.ApplicationCommand
GetSlashForceDownloadCommand returns a home-guild-only command to force re-download all data files.
func GetSlashReloadContractsCommand ¶
func GetSlashReloadContractsCommand(cmd string) *discordgo.ApplicationCommand
GetSlashReloadContractsCommand returns the command definition for reloading contracts
func HandleForceDownloadCommand ¶
func HandleForceDownloadCommand(s *discordgo.Session, i *discordgo.InteractionCreate)
HandleForceDownloadCommand handles the home-guild force-download command.
func HandleReloadContractsCommand ¶
func HandleReloadContractsCommand(s *discordgo.Session, i *discordgo.InteractionCreate)
HandleReloadContractsCommand will handle the /reload command
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.