package commands import ( "context" "github.com/bwmarrin/discordgo" ) type SlashCommand interface { CreateCommand() *discordgo.ApplicationCommand Handle(ctx context.Context, session *discordgo.Session, command *discordgo.InteractionCreate) } func Commands() []SlashCommand { return []SlashCommand{ StockCommand{}, PriceCommand{}, } }