mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-12-30 00:21:16 +00:00
[core] Log submysterygift
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
6aeb2c8706
commit
78c66214cd
1 changed files with 8 additions and 0 deletions
8
irc.go
8
irc.go
|
@ -306,6 +306,14 @@ func (i ircHandler) handleTwitchUsernotice(m *irc.Message) {
|
|||
|
||||
go handleMessage(i.c, m, eventTypeSubgift, nil)
|
||||
|
||||
case "submysterygift":
|
||||
log.WithFields(log.Fields{
|
||||
"channel": i.getChannel(m),
|
||||
"from": m.Tags["login"],
|
||||
"number": m.Tags["msg-param-mass-gift-count"],
|
||||
"plan": m.Tags["msg-param-sub-plan"],
|
||||
}).Info("User gifted subs to the community")
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue