commands

package
v0.0.0-...-2911f81 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2022 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Blackjack

type Blackjack struct {
	// contains filtered or unexported fields
}

func (Blackjack) Desc

func (s Blackjack) Desc() string

func (*Blackjack) HandleCommand

func (s *Blackjack) HandleCommand(bot *discord.Session, ctx *discord.MessageCreate, args []string) error

Starts a game of blackjack

func (Blackjack) Help

func (s Blackjack) Help() string

func (Blackjack) Init

func (s Blackjack) Init(args ...interface{}) constants.Command

type Clip

type Clip struct {
	// contains filtered or unexported fields
}

func (Clip) Desc

func (s Clip) Desc() string

func (*Clip) HandleCommand

func (s *Clip) HandleCommand(bot *discord.Session, ctx *discord.MessageCreate, args []string) error

Reply with Pong! and the latency of the bot in ms

func (Clip) Help

func (s Clip) Help() string

func (Clip) Init

func (s Clip) Init(args ...interface{}) constants.Command

type Help

type Help struct {
	Commands *map[string]constants.Command
}

func (Help) Desc

func (s Help) Desc() string

func (*Help) HandleCommand

func (s *Help) HandleCommand(bot *discord.Session, ctx *discord.MessageCreate, args []string) error

func (Help) Help

func (s Help) Help() string

func (Help) Init

func (s Help) Init(args ...interface{}) constants.Command

type ImageGeneration

type ImageGeneration struct {
	// contains filtered or unexported fields
}

func (ImageGeneration) Desc

func (s ImageGeneration) Desc() string

func (*ImageGeneration) HandleCommand

func (s *ImageGeneration) HandleCommand(bot *discord.Session, ctx *discord.MessageCreate, args []string) error

func (ImageGeneration) Help

func (s ImageGeneration) Help() string

func (ImageGeneration) Init

func (s ImageGeneration) Init(args ...interface{}) constants.Command

type Ping

type Ping struct{}

func (Ping) Desc

func (s Ping) Desc() string

func (*Ping) HandleCommand

func (s *Ping) HandleCommand(bot *discord.Session, ctx *discord.MessageCreate, args []string) error

Reply with Pong! and the latency of the bot in ms

func (Ping) Help

func (s Ping) Help() string

func (Ping) Init

func (s Ping) Init(args ...interface{}) constants.Command

type Todo

type Todo subcommands.Todo

func (Todo) Desc

func (s Todo) Desc() string

func (*Todo) HandleCommand

func (s *Todo) HandleCommand(bot *discord.Session, ctx *discord.MessageCreate, args []string) error

func (Todo) Help

func (s Todo) Help() string

func (Todo) Init

func (s Todo) Init(args ...interface{}) constants.Command

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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