[F] Keep main thread alive

This commit is contained in:
Hykilpikonna
2020-11-27 10:26:40 -05:00
parent 57790154d3
commit 24a49ea9cd
+5
View File
@@ -1,4 +1,5 @@
import logging
import time
import telegram
@@ -30,3 +31,7 @@ if __name__ == '__main__':
# Start bot
updater.start_polling()
# Keep alive
while True:
time.sleep(5)