Skip to content

Commit 6c9faac

Browse files
authored
fixedddddddd
1 parent 7f24276 commit 6c9faac

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

plugins/start.py

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
#(©)CodeXBotz
2+
3+
4+
5+
26
import os
37
import asyncio
48
from pyrogram import Client, filters, __version__
@@ -7,18 +11,11 @@
711
from pyrogram.errors import FloodWait, UserIsBlocked, InputUserDeactivated
812

913
from bot import Bot
10-
from config import ADMINS, FORCE_MSG, START_MSG, OWNER_ID, CUSTOM_CAPTION, DISABLE_CHANNEL_BUTTON, PROTECT_CONTENT
14+
from config import ADMINS, FORCE_MSG, START_MSG, CUSTOM_CAPTION, DISABLE_CHANNEL_BUTTON, PROTECT_CONTENT
1115
from helper_func import subscribed, encode, decode, get_messages
1216
from database.database import add_user, del_user, full_userbase, present_user
1317

1418

15-
#=====================================================================================##
16-
17-
WAIT_MSG = """"<b>Processing ...</b>"""
18-
19-
REPLY_ERROR = """<code>Use this command as a replay to any telegram message with out any spaces.</code>"""
20-
21-
#=====================================================================================##
2219

2320

2421
@Bot.on_message(filters.command('start') & filters.private & subscribed)
@@ -110,6 +107,17 @@ async def start_command(client: Client, message: Message):
110107
)
111108
return
112109

110+
111+
#=====================================================================================##
112+
113+
WAIT_MSG = """"<b>Processing ...</b>"""
114+
115+
REPLY_ERROR = """<code>Use this command as a replay to any telegram message with out any spaces.</code>"""
116+
117+
#=====================================================================================##
118+
119+
120+
113121
@Bot.on_message(filters.command('start') & filters.private)
114122
async def not_joined(client: Client, message: Message):
115123
buttons = [

0 commit comments

Comments
 (0)