cmd

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetApplicationCommand

func GetApplicationCommand() []*discordgo.ApplicationCommand

func GetCommandHandlers

func GetCommandHandlers() map[string]func(*discordgo.Session, *discordgo.InteractionCreate, Option)

Types

type BuildInfo

type BuildInfo struct {
	Version   string
	BuildTime string
	GitBranch string
	GitCommit string
}

type Option

type Option struct {
	Cron          *cron.Cron
	LaunchTime    time.Time
	BuildInfo     BuildInfo
	TwitterClient *anaconda.TwitterApi
}

Jump to

Keyboard shortcuts

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