Skip to content

Commit

Permalink
Update pm_filter.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Xvernos authored Aug 11, 2024
1 parent c262c78 commit 148a5f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/pm_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ async def cb_handler(client: Client, query: CallbackQuery):
], [
InlineKeyboardButton('Qʀ ᴄᴏᴅᴇ ', callback_data='qr'),
InlineKeyboardButton('Lʏʀɪᴄꜱ ', callback_data='lyrics'),
InlineKeyboardButton('Nᴇᴡꜱ ', callback_data='news')
InlineKeyboardButton('Tᴏᴏʟꜱ ', callback_data='tools')
], [
InlineKeyboardButton('⇌ Bᴀᴄᴋ ⇌', callback_data='help')
]]
Expand All @@ -757,7 +757,7 @@ async def cb_handler(client: Client, query: CallbackQuery):
reply_markup=reply_markup,
parse_mode=enums.ParseMode.HTML
)
elif query.data == "news":
elif query.data == "tools":
buttons = [[
InlineKeyboardButton('⇌ Bᴀᴄᴋ ⇌', callback_data='helpps')
]]
Expand All @@ -768,7 +768,7 @@ async def cb_handler(client: Client, query: CallbackQuery):
InputMediaPhoto(random.choice(PICS))
)
await query.message.edit_text(
text=script.NEWS,
text=script.TOOLS,
reply_markup=reply_markup,
parse_mode=enums.ParseMode.HTML
)
Expand Down

0 comments on commit 148a5f0

Please sign in to comment.