Skip to content

Commit

Permalink
Update help.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AnonymousX1025 authored Dec 23, 2022
1 parent d2d79e5 commit 619cb2a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions AnonX/plugins/help.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ async def helper_private(
keyboard = help_pannel(_, True)
if update.message.photo:
await update.edit_message_text(
_["help_1"], reply_markup=keyboard
_["help_1"].format(config.SUPPORT_HEHE), reply_markup=keyboard
)
else:
await update.edit_message_text(
_["help_1"], reply_markup=keyboard
_["help_1"].format(config.SUPPORT_HEHE), reply_markup=keyboard
)
else:
chat_id = update.chat.id
Expand All @@ -62,7 +62,7 @@ async def helper_private(
await update.reply_sticker("CAACAgUAAxkBAAIjVmKPYTFByKZlCo9d8mUv8QVAJEw7AAL9BQACiy14VGoQxOCDfE1KJAQ")
await update.reply_photo(
photo=config.START_IMG_URL,
caption=_["help_1"], reply_markup=keyboard)
caption=_["help_1"].format(config.SUPPORT_HEHE), reply_markup=keyboard)


@app.on_message(
Expand All @@ -89,7 +89,7 @@ async def helper_cb(client, CallbackQuery, _):
if cb == "hb9":
if CallbackQuery.from_user.id not in SUDOERS:
return await CallbackQuery.answer(
"ʜᴀᴀɴ ᴀᴀᴊᴀ ʙsᴅᴋ ʟᴜɴᴅ ʟᴇʟᴇ ᴍᴇʀᴀ.\n\nᴊʜᴀᴀᴛ ʙᴀʀᴀᴀʙᴀʀ ᴅɪᴍᴀᴀɢ ʜᴀɪ ɴᴀʜɪ ᴀᴜʀ ᴏᴡɴᴇʀ ʙᴀɴᴇɴɢᴇ.", show_alert=True
"This button is only for sudoers.", show_alert=True
)
else:
await CallbackQuery.edit_message_text(
Expand Down

0 comments on commit 619cb2a

Please sign in to comment.