mirror of
https://github.com/Luzifer/twitch-manager.git
synced 2024-12-21 04:11:17 +00:00
Use display-name instead of login for raid
This commit is contained in:
parent
8f86a370f6
commit
6402513516
1 changed files with 1 additions and 1 deletions
2
irc.go
2
irc.go
|
@ -197,7 +197,7 @@ func (ircHandler) handleTwitchUsernotice(m *irc.Message) {
|
||||||
}).Info("Incoming raid")
|
}).Info("Incoming raid")
|
||||||
|
|
||||||
subscriptions.SendAllSockets(msgTypeRaid, map[string]interface{}{
|
subscriptions.SendAllSockets(msgTypeRaid, map[string]interface{}{
|
||||||
"from": m.Tags["login"],
|
"from": m.Tags["msg-param-displayName"],
|
||||||
"viewerCount": m.Tags["msg-param-viewerCount"],
|
"viewerCount": m.Tags["msg-param-viewerCount"],
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue