Skip to content

Commit

Permalink
Merge branch 'main' into noelle/tickets
Browse files Browse the repository at this point in the history
  • Loading branch information
No767 committed Dec 30, 2023
2 parents 02ec509 + aff9334 commit c6d0c91
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions bot/launcher.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
import asyncio
import os

import asyncpg
import discord
from aiohttp import ClientSession
from environs import Env
from libs.utils import RodhajLogger

from rodhaj import Rodhaj

if os.name == "nt":
from winloop import install
from winloop import run
else:
from uvloop import install
from uvloop import run

# Hope not to trip pyright
env = Env()
Expand All @@ -38,8 +38,7 @@ async def main() -> None:

def launch() -> None:
with RodhajLogger():
install()
asyncio.run(main())
run(main())


if __name__ == "__main__":
Expand Down

0 comments on commit c6d0c91

Please sign in to comment.