From 40ff789fe1af43aa964bc51d865972780e33b35c Mon Sep 17 00:00:00 2001 From: Firepup Sixfifty Date: Thu, 14 Nov 2024 12:01:34 -0600 Subject: [PATCH] sudo: a password is required to list this diff --- commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands.py b/commands.py index 52acd0d..f5b25a1 100644 --- a/commands.py +++ b/commands.py @@ -185,11 +185,11 @@ def reboot(bot: bare.bot, chan: str, name: str, message: str) -> None: def sudo(bot: bare.bot, chan: str, name: str, message: str) -> None: if checks.admin(bot, name): - bot.msg("Error - system failure, contact system operator", chan) + bot.msg("Operation not permitted", chan) elif "bot" in name.lower(): bot.log("lol, no.") else: - bot.msg("Access Denied", chan) + bot.msg('sudo: a password is required', chan) def nowplaying(bot: bare.bot, chan: str, name: str, message: str) -> None: