Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update callbacks.py #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions plugins/callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,10 @@ async def cb_handler(client, query):
keyboard = InlineKeyboardMarkup(
[
[
InlineKeyboardButton("How to Deploy?", url="https://youtu.be/hkmc3e7U7R4"),
InlineKeyboardButton("About Me", callback_data="about_data")
],
[
InlineKeyboardButton("BOT Channel", url="https://t.me/TroJanzHEX"),
InlineKeyboardButton("BOT Channel", url="https://t.me/Tamil_Tentkotta"),
InlineKeyboardButton("Support Group", url="https://t.me/TroJanzSupport")
]
]
Expand All @@ -70,7 +69,7 @@ async def cb_handler(client, query):
[
[
InlineKeyboardButton(
"SOURCE CODE", url="https://github.com/TroJanzHEX/Unlimited-Filter-Bot")

],
[
InlineKeyboardButton("BACK", callback_data="help_data"),
Expand Down Expand Up @@ -280,4 +279,4 @@ async def cb_handler(client, query):
alerts = ast.literal_eval(alerts)
alert = alerts[int(i)]
alert = alert.replace("\\n", "\n").replace("\\t", "\t")
await query.answer(alert,show_alert=True)
await query.answer(alert,show_alert=True)