|
1 | 1 | #(©)CodeXBotz |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
2 | 6 | import os |
3 | 7 | import asyncio |
4 | 8 | from pyrogram import Client, filters, __version__ |
|
7 | 11 | from pyrogram.errors import FloodWait, UserIsBlocked, InputUserDeactivated |
8 | 12 |
|
9 | 13 | 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 |
11 | 15 | from helper_func import subscribed, encode, decode, get_messages |
12 | 16 | from database.database import add_user, del_user, full_userbase, present_user |
13 | 17 |
|
14 | 18 |
|
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 | | -#=====================================================================================## |
22 | 19 |
|
23 | 20 |
|
24 | 21 | @Bot.on_message(filters.command('start') & filters.private & subscribed) |
@@ -110,6 +107,17 @@ async def start_command(client: Client, message: Message): |
110 | 107 | ) |
111 | 108 | return |
112 | 109 |
|
| 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 | + |
113 | 121 | @Bot.on_message(filters.command('start') & filters.private) |
114 | 122 | async def not_joined(client: Client, message: Message): |
115 | 123 | buttons = [ |
|
0 commit comments