|
|
|
@ -72,7 +72,9 @@ if __name__ == "__main__":
|
|
|
|
|
else:
|
|
|
|
|
with open(PID_FILE, "w") as f:
|
|
|
|
|
f.write(str(os.getpid()))
|
|
|
|
|
print("Wrote PID to file bot.pid")
|
|
|
|
|
print(""
|
|
|
|
|
"Wrote PID to f"
|
|
|
|
|
"ile the file "+PID_FILE)
|
|
|
|
|
f.close()
|
|
|
|
|
try:
|
|
|
|
|
asyncio.get_event_loop().run_until_complete(main())
|
|
|
|
|