Update bot.py
Browse files
bot.py
CHANGED
@@ -40,7 +40,10 @@ bot = Client(
|
|
40 |
plugins=dict(root="plugins"),
|
41 |
)
|
42 |
def start_botcc():
|
43 |
-
|
|
|
|
|
|
|
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 |
-
|
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
|