code: def disable_command(self, command: str, message_to_print: str) -> None:
          
          import functools
  
          # If the commands is already disabled, then return
          if command in self.disabled_commands:
              return
  
          # Make sure this is an actual command
          command_function = self.cmd_func(command)
          if command_function is None:
              raise AttributeError("{} does not refer to a command".format(command))
  
          help_func_name = HELP_FUNC_PREFIX + command
  
          # Add the disabled command record
          self.disabled_commands[command] = DisabledCommand(command_function=command_function,
                                                            help_function=getattr(self, help_func_name, None))
  
          # Overwrite the command and help functions to print the message
          new_func = functools.partial(self._report_disabled_command_usage,
                                       message_to_print=message_to_print.replace(COMMAND_NAME, command))
          setattr(self, self.cmd_func_name(command), new_func)
          setattr(self, help_func_name, new_func)
docs: Disable a command and overwrite its functions
          :param command: the command being disabled
          :param message_to_print: what to print when this command is run or help is called on it while disabled
  
                                   The variable COMMAND_NAME can be used as a placeholder for the name of the
                                   command being disabled.
                                   ex: message_to_print = "{} is currently disabled".format(COMMAND_NAME)