Skip to content

Commit b7a4400

Browse files
committed
feat : add logo
1 parent dbf1618 commit b7a4400

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

bot.py

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,23 @@
33
from aiohttp import web
44
from plugins import web_server
55

6-
import pyromod.listen
76
from pyrogram import Client
87
from pyrogram.enums import ParseMode
98
import sys
109
from datetime import datetime
1110

1211
from config import API_HASH, APP_ID, LOGGER, TG_BOT_TOKEN, TG_BOT_WORKERS, FORCE_SUB_CHANNEL, CHANNEL_ID, PORT
1312

13+
14+
ascii_art = """
15+
░█████╗░░█████╗░██████╗░███████╗██╗░░██╗██████╗░░█████╗░████████╗███████╗
16+
██╔══██╗██╔══██╗██╔══██╗██╔════╝╚██╗██╔╝██╔══██╗██╔══██╗╚══██╔══╝╚════██║
17+
██║░░╚═╝██║░░██║██║░░██║█████╗░░░╚███╔╝░██████╦╝██║░░██║░░░██║░░░░░███╔═╝
18+
██║░░██╗██║░░██║██║░░██║██╔══╝░░░██╔██╗░██╔══██╗██║░░██║░░░██║░░░██╔══╝░░
19+
╚█████╔╝╚█████╔╝██████╔╝███████╗██╔╝╚██╗██████╦╝╚█████╔╝░░░██║░░░███████╗
20+
░╚════╝░░╚════╝░╚═════╝░╚══════╝╚═╝░░╚═╝╚═════╝░░╚════╝░░░░╚═╝░░░╚══════╝
21+
"""
22+
1423
class Bot(Client):
1524
def __init__(self):
1625
super().__init__(
@@ -56,14 +65,8 @@ async def start(self):
5665

5766
self.set_parse_mode(ParseMode.HTML)
5867
self.LOGGER(__name__).info(f"Bot Running..!\n\nCreated by \nhttps://t.me/CodeXBotz")
59-
self.LOGGER(__name__).info(f""" \n\n
60-
░█████╗░░█████╗░██████╗░███████╗██╗░░██╗██████╗░░█████╗░████████╗███████╗
61-
██╔══██╗██╔══██╗██╔══██╗██╔════╝╚██╗██╔╝██╔══██╗██╔══██╗╚══██╔══╝╚════██║
62-
██║░░╚═╝██║░░██║██║░░██║█████╗░░░╚███╔╝░██████╦╝██║░░██║░░░██║░░░░░███╔═╝
63-
██║░░██╗██║░░██║██║░░██║██╔══╝░░░██╔██╗░██╔══██╗██║░░██║░░░██║░░░██╔══╝░░
64-
╚█████╔╝╚█████╔╝██████╔╝███████╗██╔╝╚██╗██████╦╝╚█████╔╝░░░██║░░░███████╗
65-
░╚════╝░░╚════╝░╚═════╝░╚══════╝╚═╝░░╚═╝╚═════╝░░╚════╝░░░░╚═╝░░░╚══════╝
66-
""")
68+
print(ascii_art)
69+
print("""Welcome to CodeXBotz File Sharing Bot""")
6770
self.username = usr_bot_me.username
6871
#web-response
6972
app = web.AppRunner(await web_server())

0 commit comments

Comments
 (0)