Skip to content

Commit

Permalink
Update giveroles.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
AHanadsaker authored Jan 23, 2024
1 parent 2d4a476 commit ac0c223
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions src/commands/giveroles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,22 +125,8 @@ export class VerifyCommand extends Command {
}
}
//* Edit below based on neighboring ARTCCs
switch (user.artcc) {
case "ZJX": {
roles.push(await interaction.guild?.roles.fetch('1199464076724682772'));
break;
}
case "ZHU": {
roles.push(await interaction.guild?.roles.fetch('1199464076724682772'));
break;
}
default: {
break;
}
}
} else {
roles.push(await interaction.guild?.roles.fetch(config.member)); //Add 'ZJX Controller' role
}
} catch (error) {
await handleError(0, interaction);
console.log(`Line 115: ${error}`);
Expand Down

0 comments on commit ac0c223

Please sign in to comment.