From c4a9815a9c23db84050949940f6c4dc443f2f7dd Mon Sep 17 00:00:00 2001 From: Firepup Sixfifty Date: Tue, 7 Nov 2023 20:18:33 -0600 Subject: [PATCH] Strip spaces from commands when declining access --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 40a6a53..24498f3 100644 --- a/bot.py +++ b/bot.py @@ -271,7 +271,7 @@ class bot: cmds.data[cmd]["prefix"], ): if ("admin" in cmds.data[cmd] and cmds.data[cmd]["admin"]) and name not in self.adminnames: - self.msg(f"Sorry {name}, you don't have permission to use {cmd}.", chan) + self.msg(f"Sorry {name}, you don't have permission to use {cmd.strip()}.", chan) else: cmds.call[cmd](self, chan, name, message) handled = True