From 287c26440e0c800072bf5355c1ad1671798fb26f Mon Sep 17 00:00:00 2001 From: Chris Sexton Date: Tue, 5 Feb 2019 16:01:12 -0500 Subject: [PATCH] emojify: don't chomp up the rest of the pipeline added bonus fix --- main.go | 2 +- plugins/emojifyme/emojifyme.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 18ff59f..eb07687 100644 --- a/main.go +++ b/main.go @@ -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)) diff --git a/plugins/emojifyme/emojifyme.go b/plugins/emojifyme/emojifyme.go index 76610d8..03b7fbb 100644 --- a/plugins/emojifyme/emojifyme.go +++ b/plugins/emojifyme/emojifyme.go @@ -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 }