mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 09:44:50 +00:00
Fixx
This commit is contained in:
parent
1e9b9716ce
commit
7d96a64b48
1 changed files with 4 additions and 4 deletions
|
|
@ -358,7 +358,7 @@ async def shell_cmd(self: Client, ctx: Message, strings):
|
|||
[
|
||||
InlineKeyboardButton(
|
||||
text=strings("cl_btn"),
|
||||
callback_data=f"close#{ctx.from_user.id}",
|
||||
callback_data=f"close#{ctx.from_user.id if ctx.from_user else self.me.id}",
|
||||
)
|
||||
]
|
||||
]
|
||||
|
|
@ -376,7 +376,7 @@ async def shell_cmd(self: Client, ctx: Message, strings):
|
|||
[
|
||||
InlineKeyboardButton(
|
||||
text=strings("cl_btn"),
|
||||
callback_data=f"close#{ctx.from_user.id}",
|
||||
callback_data=f"close#{ctx.from_user.id if ctx.from_user else self.me.id}",
|
||||
)
|
||||
]
|
||||
]
|
||||
|
|
@ -504,7 +504,7 @@ async def cmd_eval(self: Client, ctx: Message, strings) -> Optional[str]:
|
|||
[
|
||||
InlineKeyboardButton(
|
||||
text=strings("cl_btn"),
|
||||
callback_data=f"close#{ctx.from_user.id}",
|
||||
callback_data=f"close#{ctx.from_user.id if ctx.from_user else self.me.id}",
|
||||
)
|
||||
]
|
||||
]
|
||||
|
|
@ -522,7 +522,7 @@ async def cmd_eval(self: Client, ctx: Message, strings) -> Optional[str]:
|
|||
[
|
||||
InlineKeyboardButton(
|
||||
text=strings("cl_btn"),
|
||||
callback_data=f"close#{ctx.from_user.id}",
|
||||
callback_data=f"close#{ctx.from_user.id if ctx.from_user else self.me.id}",
|
||||
)
|
||||
]
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue