cmd

package
v0.0.0-...-e8cb70c Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BirthdayCommand

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

func (BirthdayCommand) Execute

func (command BirthdayCommand) Execute() error

type GenericCommand

type GenericCommand struct {
	Session     interfaces.Discord
	Message     *discordgo.MessageCreate
	CommandType string
}

func (*GenericCommand) Build

func (gc *GenericCommand) Build() (interfaces.Command, error)

Build a command depending on the analysis result we give

type HelpCommand

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

func (HelpCommand) Execute

func (command HelpCommand) Execute() error

type LoginCommand

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

func (LoginCommand) Execute

func (command LoginCommand) Execute() error

type WelcomeCommand

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

func (WelcomeCommand) Execute

func (command WelcomeCommand) Execute() error

Jump to

Keyboard shortcuts

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