mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-03 11:04:51 +00:00
fix
This commit is contained in:
parent
2bb47bcc8a
commit
5fe906744f
1 changed files with 2 additions and 2 deletions
|
|
@ -25,7 +25,7 @@ async def jsonify(_, message):
|
||||||
try:
|
try:
|
||||||
await message.reply_text(
|
await message.reply_text(
|
||||||
f"<code>{the_real_message}</code>",
|
f"<code>{the_real_message}</code>",
|
||||||
reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton(text="❌ Close", callback_data=f"close#{msg.from_user.id}")]]),
|
reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton(text="❌ Close", callback_data=f"close#{message.from_user.id}")]]),
|
||||||
)
|
)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
with open("json.text", "w+", encoding="utf8") as out_file:
|
with open("json.text", "w+", encoding="utf8") as out_file:
|
||||||
|
|
@ -35,6 +35,6 @@ async def jsonify(_, message):
|
||||||
caption=f"<code>{str(e)}</code>",
|
caption=f"<code>{str(e)}</code>",
|
||||||
disable_notification=True,
|
disable_notification=True,
|
||||||
reply_to_message_id=reply_to_id,
|
reply_to_message_id=reply_to_id,
|
||||||
reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton(text="❌ Close", callback_data=f"close#{msg.from_user.id}")]]),
|
reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton(text="❌ Close", callback_data=f"close#{message.from_user.id}")]]),
|
||||||
)
|
)
|
||||||
os.remove("json.text")
|
os.remove("json.text")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue