We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb2d865 commit 568884fCopy full SHA for 568884f
twitch.py
@@ -55,6 +55,9 @@ def live_streams(bot: Bot) -> None:
55
'title': stream['title'],
56
'image': {'url': thumbnail_url},
57
}
58
+ if 'game_id' in stream:
59
+ embed['thumbnail'] = {'url': 'https://static-cdn.jtvnw.net/ttv-boxart/%s-57x76.jpg' % stream['game_id']}
60
+ embed['footer'] = {'text': stream['game_name']}
61
# store user_id because the stream URL cannot be derived from the stream['user_name']
62
user_to_announce[user_id] = (announce, embed)
63
0 commit comments