aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar onerandomusername <[email protected]>2022-01-12 06:35:38 -0500
committerGravatar onerandomusername <[email protected]>2022-01-12 09:26:26 -0500
commitfb5f3f7aababbfbc6991f5b8aac4c6037c8760d7 (patch)
treec1465a385811faceb2bf7e7751f59ed7a6c37b50
parentfix: subcommands inherit their parent's whitelist (diff)
minor: remove print debugging statement
-rw-r--r--bot/utils/decorators.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/bot/utils/decorators.py b/bot/utils/decorators.py
index 3688327a..ed03c054 100644
--- a/bot/utils/decorators.py
+++ b/bot/utils/decorators.py
@@ -203,7 +203,6 @@ def whitelist_check(**default_kwargs: Container[int]) -> Callable[[Context], boo
# as we have groups, we want to ensure that group commands inherit from the parent
overridden_command: Union[commands.Command, commands.Group] = None
for command in [ctx.command, *ctx.command.parents]:
- print(command)
if hasattr(command.callback, "override"):
overridden_command = command
break