Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…2/issues/13\#issuecomment-766356146 - TypeError: 'Message' object is not subscriptable
  • Loading branch information
Tkd-Alex committed Jan 24, 2021
1 parent 770bcf5 commit 19c755e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TwitchChannelPointsMiner/classes/WebSocketsPool.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def on_message(ws, message):
elif message.topic == "raid":
if message.type == "raid_update_v2":
raid = Raid(
message["raid"]["id"], message["raid"]["target_login"]
message.message["raid"]["id"], message.message["raid"]["target_login"]
)
ws.twitch.update_raid(ws.streamers[streamer_index], raid)

Expand Down

0 comments on commit 19c755e

Please sign in to comment.