Documentation ¶
Index ¶
- Constants
- type CommandsPlugin
- func (p *CommandsPlugin) Close() (err error)
- func (p *CommandsPlugin) HandleMessage(msg *lolicon.Message) (done bool, err error)
- func (p *CommandsPlugin) Id() lolicon.PluginId
- func (p *CommandsPlugin) Open(s *discordgo.Session) (err error)
- func (p *CommandsPlugin) Setup(cache storage.Driver) (err error)
Constants ¶
View Source
const DefaultPrefix = "!"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandsPlugin ¶
type CommandsPlugin struct { UserId string `json:"-"` Prefix string `json:"prefix"` Admins []string `json:"admins"` // contains filtered or unexported fields }
func (*CommandsPlugin) Close ¶
func (p *CommandsPlugin) Close() (err error)
func (*CommandsPlugin) HandleMessage ¶
func (p *CommandsPlugin) HandleMessage(msg *lolicon.Message) (done bool, err error)
func (*CommandsPlugin) Id ¶
func (p *CommandsPlugin) Id() lolicon.PluginId
Click to show internal directories.
Click to hide internal directories.