def enable_command(self, command: str) -> None:
        """
        Enable a command by restoring its functions
        :param command: the command being enabled
        """
        # If the commands is already enabled, then return
        if command not in self.disabled_commands:
            return

        help_func_name = HELP_FUNC_PREFIX + command

        # Restore the command and help functions to their original values
        dc = self.disabled_commands[command]
        setattr(self, self.cmd_func_name(command), dc.command_function)

        if dc.help_function is None:
            delattr(self, help_func_name)
        else:
            setattr(self, help_func_name, dc.help_function)

        # Remove the disabled command entry
        del self.disabled_commands[command]
Enable a command by restoring its functions
        :param command: the command being enabled