remove bullshit code

This commit is contained in:
2017-08-24 15:26:38 +08:00
parent 1760c54676
commit b7ef3201d4

13
bot.py
View File

@ -124,13 +124,6 @@ def on_chat(msg):
MessageLoop(bot, on_chat).run_as_thread() MessageLoop(bot, on_chat).run_as_thread()
print("Started! Service is available.") print("Started! Service is available.")
while True:
# for debug time.sleep(1)
def main(): bot.getMe()
pass
if __name__ == '__main__':
main()
while True:
time.sleep(1)
bot.getMe()