|
|
|
@ -61,8 +61,6 @@ async def get_submission(_: Client, msg: Message):
|
|
|
|
|
if msg.from_user.phone_number != None:
|
|
|
|
|
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"):
|
|
|
|
|
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)
|
|
|
|
|
subLimit(msg.from_user)
|
|
|
|
|
|
|
|
|
|
await msg.copy(configGet("admin"), caption=caption, reply_markup=InlineKeyboardMarkup(buttons))
|
|
|
|
|
|
|
|
|
|
else:
|
|
|
|
|
await msg.reply_text(locale("sub_cooldown", "message", locale=user_locale).format(str(configGet("timeout", "submission"))))
|
|
|
|
|
|
|
|
|
|