WIP: Media import/export

This commit is contained in:
2023-03-18 20:53:26 +01:00
parent 06b6b49f43
commit a4323981fb
6 changed files with 22 additions and 4 deletions

View File

@@ -49,7 +49,9 @@ async def get_submission(app: PosterClient, msg: Message):
)
if msg.document.mime_type not in configGet("mime_types", "submission"):
await msg.reply_text(
locale("mime_not_allowed", "message", locale=user_locale),
locale("mime_not_allowed", "message", locale=user_locale).format(
", ".join(configGet("mime_types", "submission"))
),
quote=True,
)
return