mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +00:00
Update dev.py
This commit is contained in:
parent
3fec0cd8e3
commit
5cf283cf80
1 changed files with 2 additions and 2 deletions
|
|
@ -102,7 +102,7 @@ async def shell(_, m):
|
|||
parse_mode=enums.ParseMode.HTML,
|
||||
reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton(text="❌ Close", callback_data=f"close#{m.from_user.id}")]]),
|
||||
)
|
||||
if not await m.from_user.is_self:
|
||||
if not m.from_user.is_self:
|
||||
await msg.delete()
|
||||
else:
|
||||
await m.reply("No Reply")
|
||||
|
|
@ -164,7 +164,7 @@ async def evaluation_cmd_t(_, m):
|
|||
parse_mode=enums.ParseMode.MARKDOWN,
|
||||
reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton(text="❌ Close", callback_data=f"close#{m.from_user.id}")]]),
|
||||
)
|
||||
if not await m.from_user.is_self:
|
||||
if not m.from_user.is_self:
|
||||
await status_message.delete()
|
||||
|
||||
# Update and restart bot
|
||||
|
|
|
|||
Loading…
Reference in a new issue