def METHOD_NAME(message: Dict[str, str], quoted_name: str) -> str:
    original_content = message["content"].strip()
    command = original_content.strip()
    commands_help = (
        "%s"
        "\n* `{0} help` to show this help message."
        "\n* `{0} latest` to fetch the latest comic strip from xkcd."
        "\n* `{0} random` to fetch a random comic strip from xkcd."
        "\n* `{0} <comic id>` to fetch a comic strip based on `<comic id>` "
        "e.g `{0} 1234`.".format(quoted_name)
    )
    try:
        if command == "help":
            return commands_help % ("xkcd bot supports these commands:",)
        elif command == "latest":
            fetched = fetch_xkcd_query(XkcdBotCommand.LATEST)
        elif command == "random":
            fetched = fetch_xkcd_query(XkcdBotCommand.RANDOM)
        elif command.isdigit():
            fetched = fetch_xkcd_query(XkcdBotCommand.COMIC_ID, command)
        else:
            return commands_help % (f"xkcd bot only supports these commands, not `{command}`:",)
    except (requests.exceptions.ConnectionError, XkcdServerError):
        logging.exception("Connection error occurred when trying to connect to xkcd server")
        return "Sorry, I cannot process your request right now, please try again later!"
    except XkcdNotFoundError:
        logging.exception(f"XKCD server responded 404 when trying to fetch comic with id {command}")
        return f"Sorry, there is likely no xkcd comic strip with id: #{command}"
    else:
        return "#{}: **{}**\n[{}]({})".format(
            fetched["num"],
            fetched["title"],
            fetched["alt"],
            fetched["img"],
        )