mirror of https://github.com/velour/catbase.git
Added commetn to untappd checkin
This commit is contained in:
parent
a05252a2b0
commit
c8f999ac9d
|
@ -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",
|
msg := fmt.Sprintf("%s just drank %s by %s%s, bringing his drunkeness to %d",
|
||||||
user.ChanNick, beerName, breweryName, venue, drunken)
|
user.ChanNick, beerName, breweryName, venue, drunken)
|
||||||
|
if checkin.Checkin_comment != "" {
|
||||||
|
msg = fmt.Sprintf("%s -- %s",
|
||||||
|
msg, checkin.Checkin_comment)
|
||||||
|
}
|
||||||
|
|
||||||
fmt.Println(msg)
|
fmt.Println(msg)
|
||||||
p.Bot.SendMessage(channel, msg)
|
p.Bot.SendMessage(channel, msg)
|
||||||
|
|
Loading…
Reference in New Issue