Added additional locale string for /message
This commit is contained in:
@@ -60,6 +60,9 @@ async def cmd_message(app: Client, msg: Message):
|
||||
adm_context=True,
|
||||
)
|
||||
else:
|
||||
await msg.reply_text(
|
||||
locale("message_enter", "message", locale=msg.from_user)
|
||||
)
|
||||
message = await listen_message(app, msg.chat.id, timeout=None)
|
||||
sent = await app.forward_messages(
|
||||
configGet("admin", "groups"), msg.chat.id, message.id
|
||||
@@ -70,6 +73,9 @@ async def cmd_message(app: Client, msg: Message):
|
||||
"destination": {"chat": sent.chat.id, "id": sent.id},
|
||||
}
|
||||
)
|
||||
await message.reply_text(
|
||||
locale("message_sent", "message", locale=message.from_user), quote=True
|
||||
)
|
||||
|
||||
except IndexError:
|
||||
await msg.reply_text(
|
||||
|
Reference in New Issue
Block a user