emojify: don't chomp up the rest of the pipeline

added bonus fix
This commit is contained in:
Chris Sexton 2019-02-05 16:01:12 -05:00
parent 4b5b66dd6d
commit 287c26440e
2 changed files with 2 additions and 2 deletions

View File

@ -79,6 +79,7 @@ func main() {
b := bot.New(c, client)
b.AddPlugin("admin", admin.New(b))
b.AddPlugin("emojifyme", emojifyme.New(b))
b.AddPlugin("first", first.New(b))
b.AddPlugin("leftpad", leftpad.New(b))
b.AddPlugin("talker", talker.New(b))
@ -93,7 +94,6 @@ func main() {
b.AddPlugin("zork", zork.New(b))
b.AddPlugin("rss", rss.New(b))
b.AddPlugin("reaction", reaction.New(b))
b.AddPlugin("emojifyme", emojifyme.New(b))
b.AddPlugin("twitch", twitch.New(b))
b.AddPlugin("inventory", inventory.New(b))
b.AddPlugin("rpgORdie", rpgORdie.New(b))

View File

@ -94,7 +94,7 @@ func (p *EmojifyMePlugin) message(kind bot.Kind, message msg.Message, args ...in
for _, e := range emojys {
p.Bot.Send(bot.Reaction, message.Channel, e, message)
}
return true
return false
}
return false
}