def METHOD_NAME(scrim: Scrim, _type: constants.EsportsRole):
    if _type == constants.EsportsRole.ping:
        role = scrim.ping_role
    elif _type == constants.EsportsRole.open:
        role = scrim.open_role
    if not role:
        return None
    if role == scrim.guild.default_role:
        return "@everyone"
    return getattr(role, "mention", "Role deleted!")