def format_help(help):
    """
    Reformat the given help text ready to be placed in an embed.

    Replace single newlines with spaces, and replace double newlines with
    a single newline. This has the effect of removing line wrapping and only
    having a line break between paragraphs instead of leaving a blank line.
    """

    paragraphs = help.split("\n\n")
    paragraphs = [p.replace("\n", " ") for p in paragraphs]

    return "\n".join(paragraphs)