mau_mau_bot_bot/run_bot_windows.py

8 lines
191 B
Python
Raw Permalink Normal View History

2023-04-11 14:40:52 +08:00
import traceback, sys, pathlib, telethon, telethon.sync
sys.argv[0]='bot.py'
try:
exec(pathlib.Path("bot.py").read_text())
except:
traceback.print_exc()
input("Press Enter to exit.")