Skip to content

Commit

Permalink
PR rc505 v1 (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
CtrlAiDel authored Jan 18, 2024
1 parent bbe50b1 commit 86076d1
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/tools/guildsConfigs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,15 @@ export const guildsConfigs = [
}
}
},
},
//RC-505
{
guildId: "1197480594284756993",
goodbye: {
channelId: "1197687123373990038",
}
}

];

export function getDefaultConfigs() {
Expand Down Expand Up @@ -167,8 +175,8 @@ export function hasCs2DockerAccess(member: GuildMember) {
.concat(config.cs2.dockerAccess ?? []);

for (const role of member.roles.cache.values()) {
const name:string = role.name.toLowerCase();
if(accesses.includes(name)) {
const name: string = role.name.toLowerCase();
if (accesses.includes(name)) {
return true;
}
}
Expand Down

0 comments on commit 86076d1

Please sign in to comment.