Updated locale strings
This commit is contained in:
@@ -8,5 +8,7 @@ from classes.pyroclient import PyroClient
|
||||
~filters.scheduled & filters.private & filters.command(["remove_commands"], prefixes=["/"]) # type: ignore
|
||||
)
|
||||
async def command_remove_commands(app: PyroClient, message: Message):
|
||||
await message.reply_text("Okay.")
|
||||
user = await app.find_user(message.from_user)
|
||||
|
||||
await message.reply_text(app._("commands_removed", "messages", locale=user.locale))
|
||||
await app.remove_commands(command_sets=await app.collect_commands())
|
||||
|
Reference in New Issue
Block a user