diff --git a/evennia/commands/command.py b/evennia/commands/command.py index 6ff992eee..e95b02673 100644 --- a/evennia/commands/command.py +++ b/evennia/commands/command.py @@ -401,6 +401,15 @@ class Command(object, metaclass=CommandMeta): """ pass + def get_command_info(self): + """ + This is the default output of func() if no func() overload is done. + Provided here as a separate method so that it can be called for debugging + purposes when making commands. + + """ + self.get_command_info() + def get_command_info(self): """ This is the default output of func() if no func() overload is done. diff --git a/evennia/commands/default/muxcommand.py b/evennia/commands/default/muxcommand.py index e7eee5099..5e0967a13 100644 --- a/evennia/commands/default/muxcommand.py +++ b/evennia/commands/default/muxcommand.py @@ -202,6 +202,12 @@ class MuxCommand(Command): else: self.character = None + def get_command_info(self): + """ + Update of parent class's get_command_info() for MuxCommand. + """ + self.get_command_info() + def get_command_info(self): """ Update of parent class's get_command_info() for MuxCommand.