mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-11-09 08:40:01 +00:00
[eventsub] Fix wrong channel in shoutout_received
event
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
a680e94364
commit
11d85b6087
1 changed files with 1 additions and 1 deletions
|
@ -258,7 +258,7 @@ func (t *twitchWatcher) handleEventSubShoutoutReceived(m json.RawMessage) error
|
||||||
}
|
}
|
||||||
|
|
||||||
fields := plugins.FieldCollectionFromData(map[string]any{
|
fields := plugins.FieldCollectionFromData(map[string]any{
|
||||||
"channel": "#" + payload.FromBroadcasterUserLogin,
|
"channel": "#" + payload.BroadcasterUserLogin,
|
||||||
"from_id": payload.FromBroadcasterUserID,
|
"from_id": payload.FromBroadcasterUserID,
|
||||||
"from": payload.FromBroadcasterUserLogin,
|
"from": payload.FromBroadcasterUserLogin,
|
||||||
"viewers": payload.ViewerCount,
|
"viewers": payload.ViewerCount,
|
||||||
|
|
Loading…
Reference in a new issue