mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-11-09 16:50:01 +00:00
[core] Remove unused subscribed_months field from subgifts
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
3ddcffafbc
commit
8e2f1f649a
1 changed files with 5 additions and 6 deletions
11
irc.go
11
irc.go
|
@ -296,12 +296,11 @@ func (i ircHandler) handleTwitchUsernotice(m *irc.Message) {
|
|||
|
||||
case "subgift", "anonsubgift":
|
||||
log.WithFields(log.Fields{
|
||||
"channel": i.getChannel(m),
|
||||
"from": m.Tags["login"],
|
||||
"gifted_months": m.Tags["msg-param-gift-months"],
|
||||
"subscribed_months": m.Tags["msg-param-cumulative-months"],
|
||||
"plan": m.Tags["msg-param-sub-plan"],
|
||||
"to": m.Tags["msg-param-recipient-user-name"],
|
||||
"channel": i.getChannel(m),
|
||||
"from": m.Tags["login"],
|
||||
"gifted_months": m.Tags["msg-param-gift-months"],
|
||||
"plan": m.Tags["msg-param-sub-plan"],
|
||||
"to": m.Tags["msg-param-recipient-user-name"],
|
||||
}).Info("User gifted a sub")
|
||||
|
||||
go handleMessage(i.c, m, eventTypeSubgift, nil)
|
||||
|
|
Loading…
Reference in a new issue