Added YII role menu

imgbot
kieranrobson 2022-05-13 20:33:25 +01:00
parent 8cb454df70
commit 42a6f4b622
1 changed files with 11 additions and 0 deletions

View File

@ -115,6 +115,17 @@ client.on("interactionCreate", async (interaction) => {
interaction.member.roles.remove("460435898660683778") // Remove PhD Year
interaction.member.roles.remove("441277481488613386") // Remove Graduate Year
}
else if(interaction.values.includes("3"))
{
interaction.member.roles.add("441277048003100684") // Add Year In Industry Year
interaction.member.roles.remove("974754114296741948") // Remove Foundation Year
interaction.member.roles.remove("441276956089122836") // Remove First Year
interaction.member.roles.remove("441276979514441741") // Remove Second Year
interaction.member.roles.remove("441277001744121856") // Remove Third Year
interaction.member.roles.remove("441277023873138743") // Remove Masters Year
interaction.member.roles.remove("460435898660683778") // Remove PhD Year
interaction.member.roles.remove("441277481488613386") // Remove Graduate Year
}