sahanind commited on
Commit
97dccbf
·
verified ·
1 Parent(s): 3ff9518

Update bot.py

Browse files
Files changed (1) hide show
  1. bot.py +3 -2
bot.py CHANGED
@@ -39,10 +39,11 @@ bot = Client(
39
  workers=50,
40
  plugins=dict(root="plugins"),
41
  )
42
-
 
43
 
44
  def run_asyncio_main():
45
- asyncio.run(bot.start())
46
 
47
 
48
  thread = threading.Thread(target=run_asyncio_main)
 
39
  workers=50,
40
  plugins=dict(root="plugins"),
41
  )
42
+ async def start_botcc():
43
+ await bot.start()
44
 
45
  def run_asyncio_main():
46
+ asyncio.run(start_botcc())
47
 
48
 
49
  thread = threading.Thread(target=run_asyncio_main)