From c8f999ac9da8b45de23bbe475367cd0b445efbf5 Mon Sep 17 00:00:00 2001 From: Chris Sexton Date: Sun, 9 Dec 2012 18:25:25 -0500 Subject: [PATCH] Added commetn to untappd checkin --- plugins/beers.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/beers.go b/plugins/beers.go index 98b7396..f2fb407 100644 --- a/plugins/beers.go +++ b/plugins/beers.go @@ -349,6 +349,10 @@ func (p *BeersPlugin) checkUntappd(channel string) { msg := fmt.Sprintf("%s just drank %s by %s%s, bringing his drunkeness to %d", user.ChanNick, beerName, breweryName, venue, drunken) + if checkin.Checkin_comment != "" { + msg = fmt.Sprintf("%s -- %s", + msg, checkin.Checkin_comment) + } fmt.Println(msg) p.Bot.SendMessage(channel, msg)