This commit closes #6
This commit is contained in:
parent
5ad8cc750d
commit
f6e85a7a2c
@ -106,6 +106,13 @@
|
||||
"🙊"
|
||||
],
|
||||
"commands": {
|
||||
"help": {
|
||||
"scopes": [
|
||||
{
|
||||
"name": "BotCommandScopeDefault"
|
||||
}
|
||||
]
|
||||
},
|
||||
"language": {
|
||||
"scopes": [
|
||||
{
|
||||
|
@ -13,6 +13,7 @@
|
||||
]
|
||||
},
|
||||
"commands": {
|
||||
"help": "Nützliche Informationen anzeigen",
|
||||
"language": "Sprache des Bots in dieser Gruppe einstellen",
|
||||
"language_auto": "Automatische Sprachwahl umschalten"
|
||||
},
|
||||
|
@ -10,6 +10,7 @@
|
||||
]
|
||||
},
|
||||
"commands": {
|
||||
"help": "Show some helpful info",
|
||||
"language": "Set bot's language in this group",
|
||||
"language_auto": "Toggle automatic language selection"
|
||||
},
|
||||
|
@ -9,6 +9,7 @@
|
||||
]
|
||||
},
|
||||
"commands": {
|
||||
"help": "Показати корисну інформацію",
|
||||
"language": "Встановити мову бота в цій групі",
|
||||
"language_auto": "Переключити автоматичний вибір мови"
|
||||
},
|
||||
|
@ -14,4 +14,7 @@ logger = logging.getLogger(__name__)
|
||||
& filters.command(["help", "start"], prefixes=["/"]) # type: ignore
|
||||
)
|
||||
async def command_help(app: PyroClient, message: Message):
|
||||
await message.reply_text(app._("help", "messages", locale=message.from_user.language_code))
|
||||
await message.reply_text(
|
||||
app._("help", "messages", locale=message.from_user.language_code),
|
||||
disable_web_page_preview=True,
|
||||
)
|
||||
|
Reference in New Issue
Block a user