def METHOD_NAME(ctx, channel_id):
    """Cleans channel mentions from messages."""
    channel = ctx.guild.get_channel(channel_id)
    if channel is None:
        return f'<#\N{ZERO WIDTH SPACE}{channel_id:d}>'
    elif is_clean(ctx, channel.name):
        return '#' + channel.name
    else:
        return f'<#\N{ZERO WIDTH SPACE}{channel.id:d}>'