Documentation ¶
Index ¶
- Variables
- type AnimeCommand
- type AnimeModule
- func (c *AnimeModule) AniRecentCommand(cmd AnimeCommand, s *discordgo.Session, m *discordgo.MessageCreate, ...)
- func (c *AnimeModule) AniUserInfoCommand(cmd AnimeCommand, s *discordgo.Session, m *discordgo.MessageCreate, ...)
- func (c *AnimeModule) CommandInfo(name string, data *Bot.ServerData) (response *Bot.Embed, found bool)
- func (c *AnimeModule) Execute(s *discordgo.Session, m *discordgo.MessageCreate, data *Bot.ServerData)
- func (c *AnimeModule) HelpFields() (title string, content string)
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 (c *AnimeModule) Execute(s *discordgo.Session, m *discordgo.MessageCreate, data *Bot.ServerData)
func (*AnimeModule) HelpFields ¶
func (c *AnimeModule) HelpFields() (title string, content string)
Click to show internal directories.
Click to hide internal directories.