X-Git-Url: https://jfr.im/git/erebus.git/blobdiff_plain/9bd05cf6ce93e89492b5e239aeb7785879a57039..c90c4ce0c984e066ac466f26f9a7cc6958acb97a:/modules/twitch.py diff --git a/modules/twitch.py b/modules/twitch.py index 6357459..ba7e81f 100644 --- a/modules/twitch.py +++ b/modules/twitch.py @@ -40,6 +40,6 @@ def privmsg_hook(bot, line): respdata = urllib2.urlopen(url).read() twitch = json.loads(respdata) try: - bot.msg(line.split()[2], 'Twitch: %s (%s)' % (twitch[0]['channel']['status'], twitch[0]['channel']['meta_game'])) + bot.msg(line.split()[2], 'Twitch: %s (%s playing %s)' % (twitch[0]['channel']['status'], twitch[0]['channel']['login'], twitch[0]['channel']['meta_game'])) except: bot.msg(line.split()[2], 'Twitch: Channel offline.')