async def clean_up_mentions(msg, text):
    """ Replace mentions with a non-pingning text equivelent. """

    for user in msg.mentions:
        text = text.replace(f"<@{user.id}>", f"@\u200b{user.display_name}")
        text = text.replace(
            f"<@!{user.id}>", f"@\u200b{user.display_name}"
        )  # Has nick set

    for role in msg.role_mentions:
        text = text.replace(f"<@&{role.id}>", f"@\u200b{role.name}")

    text = text.replace(f"@everyone", f"@\u200beveryone")
    text = text.replace(f"@here", f"@\u200bhere")

    return text