feat: Add events ping to misc roles, rm course rep

imgbot
Kieran 2022-10-22 18:51:39 +01:00
parent 448a0f9296
commit 9e8eda39e6
2 changed files with 6 additions and 6 deletions

View File

@ -18,9 +18,9 @@ module.exports = {
.setMaxValues(2) .setMaxValues(2)
.addOptions([ .addOptions([
{ {
label: 'Course Rep', label: 'Events Ping',
description: 'Get access to the course rep channel', description: 'Get notified of events!',
value: 'courserep', value: 'events',
}, },
{ {
label: 'CourseWork Help Ping', label: 'CourseWork Help Ping',

View File

@ -257,10 +257,10 @@ client.on('interactionCreate', async (interaction) => {
} }
if (interaction.customId == 'miscSelect') { if (interaction.customId == 'miscSelect') {
if (interaction.values.includes('courserep')) { if (interaction.values.includes('events')) {
interaction.member.roles.add('493738161713709077'); interaction.member.roles.add('1033061119625023559');
} else { } else {
interaction.member.roles.remove('493738161713709077'); interaction.member.roles.remove('1033061119625023559');
} }
if (interaction.values.includes('ACWPing')) { if (interaction.values.includes('ACWPing')) {