fix(bot): 🐛 Do not try to use winloop.

This commit is contained in:
Nyeki.py
2024-10-23 23:39:21 -03:00
parent 8c7e76654a
commit 0b6dfb2361
+1 -8
View File
@@ -40,14 +40,7 @@ def flush_process():
print("Flushing messages with uvloop.") print("Flushing messages with uvloop.")
except ImportError: except ImportError:
try: print("Flushing messages with default loop.")
import winloop
winloop.install()
print("Flushing messages with winloop.")
except ImportError:
print("Could not find winloop nor uvloop for messages flushing.")
finally: finally:
asyncio.run(loop()) asyncio.run(loop())