File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 22import os
33import asyncio
44from pyrogram import Client , filters , __version__
5-
65from pyrogram .types import Message , InlineKeyboardMarkup , InlineKeyboardButton
76from pyrogram .errors import FloodWait
87
1312from database .sql import add_user , query_msg
1413
1514
16- ########₹₹₹₹#################₹#₹₹₹₹₹!₹###########₹₹₹₹₹₹₹₹##₹### ##
15+ #===================================================================================== ##
1716
1817USERS_LIST = """<b>⭕️Total:</b>\n \n ⭕️Subscribers - {}\n ⭕️Blocked- {}"""
1918
2221REPLY_ERROR = """<code>Use this command as a replay to any telegram message with out any spaces.</code>"""
2322
2423
25- #########₹₹₹₹#################₹#₹₹₹₹₹!₹###########₹₹₹₹₹₹₹₹##₹### ##
24+ #===================================================================================== ##
2625
2726
2827@Bot .on_message (filters .command ('start' ) & filters .private & subscribed )
2928async def start_command (client : Client , message : Message ):
30- id = m .from_user .id
31- user_name = '@' + m .from_user .username if m .from_user .username else None
29+ id = message .from_user .id
30+ user_name = '@' + message .from_user .username if message .from_user .username else None
3231 await add_user (id , user_name )
3332 text = message .text
3433 if len (text )> 7 :
@@ -166,4 +165,4 @@ async def send_text(bot, m: Message):
166165 else :
167166 msg = await m .reply_text (REPLY_ERROR , m .message_id )
168167 await asyncio .sleep (8 )
169- await msg .delete ()
168+ await msg .delete ()
You can’t perform that action at this time.
0 commit comments