radlibs

package
v0.5.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Command  commands.Command
	Commands []commands.Command
)
View Source
var RadLibsCommand = discordgo.ApplicationCommand{
	Name:        "radlibs",
	Description: "Replaces certain tokens with words",
	Options: []*discordgo.ApplicationCommandOption{
		{
			Type:        discordgo.ApplicationCommandOptionString,
			Name:        "msg",
			Description: "Message with the tokens you want to radlib",
			Required:    true,
		},
	},
}

Functions

func DoRadlibs

This function splits up the message string and loops over every string

func RadlibsCommandHandler added in v0.4.0

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

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