magic8ball

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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Commands []commands.Command
)
View Source
var EightBallCommand = discordgo.ApplicationCommand{
	Name:        "8ball",
	Description: "Shake a magic 8-ball",
	Options: []*discordgo.ApplicationCommandOption{
		{
			Type:        discordgo.ApplicationCommandOptionString,
			Name:        "question",
			Description: "Optional question for the 8-ball",
			Required:    false,
		},
	},
}

Functions

func EightBallCommandHandler added in v0.4.0

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

func ShakeTheBall

func ShakeTheBall(i *discordgo.InteractionCreate) string

Types

type Randomizer

type Randomizer = types.Randomizer

Jump to

Keyboard shortcuts

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