feat: added help command
This commit is contained in:
parent
4fc5ae63a1
commit
bd9854676d
10 changed files with 414 additions and 7 deletions
|
@ -23,6 +23,11 @@ func NewLoquito() *LoquitoPlugin {
|
|||
}
|
||||
}
|
||||
|
||||
// GetHelp returns the plugin help text
|
||||
func (p *LoquitoPlugin) GetHelp() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
// OnMessage handles incoming messages
|
||||
func (p *LoquitoPlugin) OnMessage(msg *model.Message, config map[string]interface{}, cache model.CacheInterface) []*model.MessageAction {
|
||||
if !strings.Contains(strings.ToLower(msg.Text), "lo quito") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue