feat: Add events ping to misc roles, rm course rep
parent
448a0f9296
commit
9e8eda39e6
|
@ -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',
|
||||||
|
|
|
@ -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')) {
|
||||||
|
|
Loading…
Reference in New Issue