1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +00:00
This commit is contained in:
Steffo 2016-07-19 12:34:05 +02:00
parent 81ee74d770
commit a032343fd5

2
bot.py
View file

@ -348,7 +348,7 @@ while True:
else: else:
emoji = chr(9899) emoji = chr(9899)
name = member['username'] name = member['username']
if gamename in locals() and channelname in locals(): if 'gamename' in locals() and 'channelname' in locals():
tosend += "{emoji} *{channelname}* {name} | _{gamename}_".format(**locals()) tosend += "{emoji} *{channelname}* {name} | _{gamename}_".format(**locals())
telegram.sendmessage(tosend, sentin, source) telegram.sendmessage(tosend, sentin, source)
elif text.startswith('/online'): elif text.startswith('/online'):