misc package - github.com/bluejutzu/GoBot/commands/misc - Go Packages

misc

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EIGHTBALL_Command = &discordgo.ApplicationCommand{
		Name:        "8ball",
		Description: "What does your fate hold?",
		Options: []*discordgo.ApplicationCommandOption{
			{
				Type:        discordgo.ApplicationCommandOptionString,
				Name:        "question",
				Description: "What do you want to ask the magical 8ball?",
				Required:    true,
			},
		},
	}
)
View Source
var ID_Commmand = &discordgo.ApplicationCommand{
	Name:        "what-is-my-id",
	Description: "Get your user ID.",
}
View Source
var PING_Command = &discordgo.ApplicationCommand{
	Name:        "ping",
	Description: "Get the Bots ping",
}

Functions

func EIGHTBALL_ParseCommand added in v0.1.2

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

func ID_ParseCommand

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

func PING_ParseCommand

func PING_ParseCommand(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