mirror of
https://github.com/velour/catbase.git
synced 2025-04-05 12:31:42 +00:00
mayi: add a should clause
This commit is contained in:
parent
c5a13116fa
commit
2f3c9091bb
@ -13,7 +13,7 @@ type MayIPlugin struct {
|
||||
c *config.Config
|
||||
}
|
||||
|
||||
var regex = regexp.MustCompile(`(?i)^(may|can) (?P<who>\S+) (?P<what>.+)`)
|
||||
var regex = regexp.MustCompile(`(?i)^(should|may|can) (?P<who>\S+) (?P<what>.+)`)
|
||||
|
||||
func New(b bot.Bot) *MayIPlugin {
|
||||
m := &MayIPlugin{
|
||||
|
Loading…
x
Reference in New Issue
Block a user