golden's invite idea

This commit is contained in:
AngelRionCervi 2020-04-11 19:03:08 +02:00
parent a9917096c9
commit 57be4bd141

View file

@ -37,16 +37,16 @@ const GATHER_CONFIGS = [
},*/
{
type: "invitational",
icon: '/inviteGather.png',
name: "Invitational Gather",
description: "Join on ensl.org/teams/949",
// Grant invite if on list
membershipTest: function (user) {
return InvitationalGather.list.some(m => m.id === user.id);
},
serverMembershipTest: function (server) {
return server.name.toLowerCase().indexOf("promod") === -1;
}
icon: "/inviteGather.png",
name: "Invitational Gather",
description: "You must be on a nsl team to join",
// Grand invite if on any nsl team
membershipTest: function (user) {
return user.team ? true : false;
},
serverMembershipTest: function (server) {
return server.name.toLowerCase().indexOf("promod") === -1;
},
}
// {
// type: "casual",