def METHOD_NAME(ctx, role_id):
    """Cleans role pings from messages."""
    role = discord.utils.get(ctx.guild.roles, id=role_id)  # Guild.get_role doesn't exist
    if role is None:
        return f'<@&\N{ZERO WIDTH SPACE}{role_id:d}>'
    elif is_clean(ctx, role.name):
        return '@' + role.name
    else:
        return f'<@&\N{ZERO WIDTH SPACE}{role.id:d}>'