Hana Celeste commited on
Commit
c0257ae
·
verified ·
1 Parent(s): d1addcf

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -0
main.py CHANGED
@@ -15,10 +15,12 @@ async def lifespan(app: FastAPI):
15
  await enka.start()
16
  await akasa.start()
17
  await fetcher.start()
 
18
  yield
19
  await fetcher.stop()
20
  await akasa.stop()
21
  await enka.stop()
 
22
 
23
  app = FastAPI(lifespan=lifespan)
24
 
 
15
  await enka.start()
16
  await akasa.start()
17
  await fetcher.start()
18
+ await discord_app.start()
19
  yield
20
  await fetcher.stop()
21
  await akasa.stop()
22
  await enka.stop()
23
+ await discord_app.stop()
24
 
25
  app = FastAPI(lifespan=lifespan)
26