fix: Update role id and add disclaimer
parent
9ee0db42c0
commit
cc1d418c54
|
@ -37,6 +37,10 @@ module.exports = {
|
||||||
'Benefits?',
|
'Benefits?',
|
||||||
'Come to every event\r\n Vote in AGMs and EGMs\r\n Access a special area, just for paid members\r\n Access our archive of previous events and guest talks\r\n\r\nAnd support the society you are apart of!'
|
'Come to every event\r\n Vote in AGMs and EGMs\r\n Access a special area, just for paid members\r\n Access our archive of previous events and guest talks\r\n\r\nAnd support the society you are apart of!'
|
||||||
)
|
)
|
||||||
|
.addField(
|
||||||
|
'Disclaimer!',
|
||||||
|
'This is a manual process, executive members need to verify that you have paid your membership and then manually give you the role. **There is no notification of you receiving the role!**'
|
||||||
|
)
|
||||||
.addField('Pay for a membership', 'Press the grey button below!')
|
.addField('Pay for a membership', 'Press the grey button below!')
|
||||||
.setThumbnail('https://i.imgur.com/ww6wKwJ.png');
|
.setThumbnail('https://i.imgur.com/ww6wKwJ.png');
|
||||||
|
|
||||||
|
|
|
@ -50,7 +50,7 @@ client.on('interactionCreate', async (interaction) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (interaction.customId == 'paidModal') {
|
if (interaction.customId == 'paidModal') {
|
||||||
if (interaction.member.roles.cache.has(`427878753008353292`)) {
|
if (interaction.member.roles.cache.has(`1003727320147820634`)) {
|
||||||
await interaction.deferReply({ ephemeral: true });
|
await interaction.deferReply({ ephemeral: true });
|
||||||
interaction.followUp({
|
interaction.followUp({
|
||||||
content: 'You already have the paid member role.',
|
content: 'You already have the paid member role.',
|
||||||
|
@ -305,7 +305,7 @@ client.on('interactionCreate', async (interaction) => {
|
||||||
execchannel.send({ embeds: [embed], components: [row] });
|
execchannel.send({ embeds: [embed], components: [row] });
|
||||||
await interaction.deferReply({ ephemeral: true });
|
await interaction.deferReply({ ephemeral: true });
|
||||||
interaction.followUp({
|
interaction.followUp({
|
||||||
content: 'Your request has been sent to execs!',
|
content: 'Your request has been sent to execs! Please be patient as execs, like you, are also students!',
|
||||||
ephemeral: true,
|
ephemeral: true,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue