sahanind commited on
Commit
320cd67
·
verified ·
1 Parent(s): 42a6a5f

Update bot.py

Browse files
Files changed (1) hide show
  1. bot.py +5 -4
bot.py CHANGED
@@ -40,7 +40,10 @@ bot = Client(
40
  plugins=dict(root="plugins"),
41
  )
42
  def start_botcc():
43
- await bot.start()
 
 
 
44
 
45
  def run_asyncio_main():
46
  asyncio.run(start_botcc())
@@ -50,9 +53,7 @@ thread = threading.Thread(target=start_botcc)
50
  thread.daemon = True # Set as daemon so it exits when main thread exits
51
  thread.start()
52
 
53
- logger.info("Bot has started.")
54
- logger.info("**Bot Started**\n\n**Pyrogram Version:** %s \n**Layer:** %s", __version__, layer)
55
- logger.info("Developed by github.com/kalanakt Sponsored by www.netronk.com")
56
 
57
  def nmtapifunc(text):
58
  text = text
 
40
  plugins=dict(root="plugins"),
41
  )
42
  def start_botcc():
43
+ bot.start()
44
+ logger.info("Bot has started.")
45
+ logger.info("**Bot Started**\n\n**Pyrogram Version:** %s \n**Layer:** %s", __version__, layer)
46
+ logger.info("Developed by github.com/kalanakt Sponsored by www.netronk.com")
47
 
48
  def run_asyncio_main():
49
  asyncio.run(start_botcc())
 
53
  thread.daemon = True # Set as daemon so it exits when main thread exits
54
  thread.start()
55
 
56
+
 
 
57
 
58
  def nmtapifunc(text):
59
  text = text