remove-user

This commit is contained in:
Whispering Wind
2024-08-05 13:33:24 +03:30
committed by GitHub
parent 2dcf9fbce1
commit 1ba4250756

View File

@ -202,7 +202,7 @@ def delete_user(message):
def process_delete_user(message):
username = message.text.strip()
command = f"python3 {CLI_PATH} delete-user -u {username}"
command = f"python3 {CLI_PATH} remove-user -u {username}"
result = run_cli_command(command)
bot.reply_to(message, result)