From 1b4045ee81f9d7192e1a93dc90e1f8ba1b5d4eb1 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Wed, 24 Jan 2024 20:55:28 +0100 Subject: [PATCH] fix hidden command shown to regular user instead of mods --- src/modules/commandes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/commandes.py b/src/modules/commandes.py index 97d78e4..0a6ac8e 100644 --- a/src/modules/commandes.py +++ b/src/modules/commandes.py @@ -75,7 +75,7 @@ class Commandes(Cog): author = cast(Chatter, ctx.author) for command in listCommands(self.client): name = command.name - if command.no_global_checks and author.is_mod: + if command.no_global_checks and not author.is_mod: continue if command.aliases: name += " (alias: "