From 5b5588f537a8d48570902f8059769f9a3e21908c Mon Sep 17 00:00:00 2001 From: MarkPash Date: Sat, 8 Apr 2017 13:48:12 +0000 Subject: [PATCH] formatting responsetext --- bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot.py b/bot.py index 309b129..18cf4a9 100644 --- a/bot.py +++ b/bot.py @@ -161,10 +161,10 @@ def steamdata(vanityname): namestr = dataresponse['personaname'] else: namestr = '' if 'personastate' in dataresponse: - statestr = personastates[dataresponse['personastate']] + statestr = '`' + personastates[dataresponse['personastate']] + '`' else: statestr = '' if 'gameextrainfo' in dataresponse: - gamestr = ' playing ' + dataresponse['gameextrainfo'] + gamestr = ' playing `' + dataresponse['gameextrainfo'] + '`' else: gamestr = '' responsetext = [(namestr + ' is ' + statestr + gamestr).replace(' ', ' ')]