README / main.py
nexusfor3rd's picture
Upload 8 files
4297e31 verified
raw
history blame contribute delete
394 Bytes
import asyncio
import logging
from pyrogram import idle
from bot.client import templatebot
logging.basicConfig(
level=logging.INFO,
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s'
)
async def main():
app = templatebot()
await app.start()
print("Bot started successfully!")
await idle()
if __name__ == "__main__":
asyncio.run(main())