mirror of https://github.com/velour/catbase.git
emojify: don't chomp up the rest of the pipeline
added bonus fix
This commit is contained in:
parent
4b5b66dd6d
commit
287c26440e
2
main.go
2
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))
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue