| 22 | |
| 23 | @Client.on_message(filters.private & filters.command("start")) |
| 24 | async def start(client, message): |
| 25 | start_button = [[ |
| 26 | InlineKeyboardButton('ᴀʙᴏᴜᴛ', callback_data='about'), |
| 27 | InlineKeyboardButton('ʜᴇʟᴘ', callback_data='help') |
| 28 | ]] |
| 29 | if client.premium: |
| 30 | start_button.append([InlineKeyboardButton('💸 ᴜᴘɢʀᴀᴅᴇ ᴛᴏ ᴘʀᴇᴍɪᴜᴍ 💸', callback_data='upgrade')]) |
| 31 | user = message.from_user |
| 32 | await digital_botz.add_user(client, message) |
| 33 | if Config.PIC: |
| 34 | await message.reply_photo(Config.PIC, caption=rkn.START_TXT.format(user.mention), reply_markup=InlineKeyboardMarkup(start_button)) |
| 35 | else: |
| 36 | await message.reply_text(text=rkn.START_TXT.format(user.mention), reply_markup=InlineKeyboardMarkup(start_button), disable_web_page_preview=True) |
| 37 | |
| 38 | @Client.on_message(filters.private & filters.command('setprefix')) |
| 39 | async def add_prefix(client, message): |