Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Log *logging.Logger
)
Functions ¶
This section is empty.
Types ¶
type MetaCommand ¶
type MetaCommand struct {
// contains filtered or unexported fields
}
func (MetaCommand) Aliases ¶
func (cc MetaCommand) Aliases() []string
func (MetaCommand) Description ¶
func (cc MetaCommand) Description() string
func (MetaCommand) Name ¶
func (cc MetaCommand) Name() string
func (MetaCommand) Permission ¶
func (cc MetaCommand) Permission() int
func (MetaCommand) Usage ¶
func (cc MetaCommand) Usage() string
type MetaModule ¶
type MetaModule struct { Bot *Bot.Bot Commands []MetaCommand }
func New ¶
func New(bot *Bot.Bot, l *logging.Logger) (c *MetaModule)
func (*MetaModule) CommandInfo ¶
func (c *MetaModule) CommandInfo(name string, data *Bot.ServerData) (response *Bot.Embed, found bool)
func (*MetaModule) Execute ¶
func (c *MetaModule) Execute(s *discordgo.Session, m *discordgo.MessageCreate, data *Bot.ServerData)
func (*MetaModule) HelpFields ¶
func (c *MetaModule) HelpFields() (title string, content string)
Click to show internal directories.
Click to hide internal directories.