mirror of
https://github.com/cdryzun/tg_bot_collections.git
synced 2025-07-11 02:06:42 +08:00
2
tg.py
2
tg.py
@ -31,7 +31,7 @@ def main():
|
|||||||
|
|
||||||
# Start bot
|
# Start bot
|
||||||
print("Starting tg collections bot.")
|
print("Starting tg collections bot.")
|
||||||
bot.infinity_polling(timeout=40, long_polling_timeout=120)
|
bot.infinity_polling(timeout=10, long_polling_timeout=5)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
Reference in New Issue
Block a user