mayi: add a should clause

This commit is contained in:
Chris Sexton 2022-01-03 16:12:46 -05:00 committed by GitHub
parent c5a13116fa
commit 2f3c9091bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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{