wisdom

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Commands []commands.Command
)
View Source
var WisdomCommand = discordgo.ApplicationCommand{
	Name:        "wisdom",
	Description: "Get a (random) quote",
	Options: []*discordgo.ApplicationCommandOption{
		{
			Type:        discordgo.ApplicationCommandOptionString,
			Name:        "quoteid",
			Description: "quotable.io quote ID",
			Required:    false,
		},
	},
}

Functions

func GetQuote

func GetQuote(i *discordgo.InteractionCreate) string

func WisdomCommandHandler added in v0.4.0

func WisdomCommandHandler(s *discordgo.Session, i *discordgo.InteractionCreate)

Types

This section is empty.

Jump to

Keyboard shortcuts

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