1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +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:
emoji = chr(9899)
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())
telegram.sendmessage(tosend, sentin, source)
elif text.startswith('/online'):