From d2712488127a08bab1f7fbc9cd357934ea63063c Mon Sep 17 00:00:00 2001 From: Interitio Date: Fri, 6 Jun 2025 22:24:28 +1000 Subject: [PATCH] fix(meta): Repair issues from dpy update. --- src/meta/LionBot.py | 2 +- src/meta/LionTree.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/meta/LionBot.py b/src/meta/LionBot.py index 5f8981e..0c03286 100644 --- a/src/meta/LionBot.py +++ b/src/meta/LionBot.py @@ -203,7 +203,7 @@ class LionBot(Bot): # TODO: Some of these could have more user-feedback logger.debug(f"Handling command error for {ctx}: {exception}") if isinstance(ctx.command, HybridCommand) and ctx.command.app_command: - cmd_str = ctx.command.app_command.to_dict() + cmd_str = ctx.command.app_command.to_dict(self.tree) else: cmd_str = str(ctx.command) try: diff --git a/src/meta/LionTree.py b/src/meta/LionTree.py index 75a3ccf..2df3c63 100644 --- a/src/meta/LionTree.py +++ b/src/meta/LionTree.py @@ -133,7 +133,7 @@ class LionTree(CommandTree): return set_logging_context(action=f"Run {command.qualified_name}") - logger.debug(f"Running command '{command.qualified_name}': {command.to_dict()}") + logger.debug(f"Running command '{command.qualified_name}': {command.to_dict(self)}") try: await command._invoke_with_namespace(interaction, namespace) except AppCommandError as e: