AnimeModule

package
v0.0.0-...-06d5ffc Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Log *logging.Logger
)

Functions

This section is empty.

Types

type AnimeCommand

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

func (AnimeCommand) Aliases

func (cc AnimeCommand) Aliases() []string

func (AnimeCommand) Description

func (cc AnimeCommand) Description() string

func (AnimeCommand) Name

func (cc AnimeCommand) Name() string

func (AnimeCommand) Permission

func (cc AnimeCommand) Permission() int

func (AnimeCommand) Usage

func (cc AnimeCommand) Usage() string

type AnimeModule

type AnimeModule struct {
	Bot      *Bot.Bot
	Commands []AnimeCommand
}

func New

func New(bot *Bot.Bot, l *logging.Logger) (c *AnimeModule)

func (*AnimeModule) AniRecentCommand

func (c *AnimeModule) AniRecentCommand(cmd AnimeCommand, s *discordgo.Session, m *discordgo.MessageCreate, data *Bot.ServerData)

func (*AnimeModule) AniUserInfoCommand

func (c *AnimeModule) AniUserInfoCommand(cmd AnimeCommand, s *discordgo.Session, m *discordgo.MessageCreate, data *Bot.ServerData)

func (*AnimeModule) CommandInfo

func (c *AnimeModule) CommandInfo(name string, data *Bot.ServerData) (response *Bot.Embed, found bool)

func (*AnimeModule) Execute

func (*AnimeModule) HelpFields

func (c *AnimeModule) HelpFields() (title string, content string)

Jump to

Keyboard shortcuts

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