X-Git-Url: https://jfr.im/git/erebus.git/blobdiff_plain/472ca0641d9ee9ebb5b425cbe73196fe86bbb810..233f40c362e09bb8e7dda953d51c38409d4fdd5a:/modules/twitch.py diff --git a/modules/twitch.py b/modules/twitch.py index fdd7b32..c083857 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.')