Small keyboard fix
This commit is contained in:
parent
9ce05589b0
commit
a3a1be241c
@ -61,8 +61,6 @@ async def get_submission(_: Client, msg: Message):
|
|||||||
if msg.from_user.phone_number != None:
|
if msg.from_user.phone_number != None:
|
||||||
caption += f" ({msg.from_user.phone_number})"
|
caption += f" ({msg.from_user.phone_number})"
|
||||||
|
|
||||||
await msg.copy(configGet("admin"), caption=caption, reply_markup=InlineKeyboardMarkup(buttons))
|
|
||||||
|
|
||||||
if msg.from_user.id != configGet("admin"):
|
if msg.from_user.id != configGet("admin"):
|
||||||
buttons += [
|
buttons += [
|
||||||
[
|
[
|
||||||
@ -76,6 +74,8 @@ async def get_submission(_: Client, msg: Message):
|
|||||||
await msg.reply_text(locale("sub_sent", "message", locale=user_locale), quote=True)
|
await msg.reply_text(locale("sub_sent", "message", locale=user_locale), quote=True)
|
||||||
subLimit(msg.from_user)
|
subLimit(msg.from_user)
|
||||||
|
|
||||||
|
await msg.copy(configGet("admin"), caption=caption, reply_markup=InlineKeyboardMarkup(buttons))
|
||||||
|
|
||||||
else:
|
else:
|
||||||
await msg.reply_text(locale("sub_cooldown", "message", locale=user_locale).format(str(configGet("timeout", "submission"))))
|
await msg.reply_text(locale("sub_cooldown", "message", locale=user_locale).format(str(configGet("timeout", "submission"))))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user