mirror of
https://github.com/RetroDECK/RetroDECK-Discord-Bot.git
synced 2026-04-21 12:06:40 +00:00
Update role terminology from "Donator" to "Supporter" in claim donation command
This commit is contained in:
parent
3e95c1e49d
commit
e4e819a891
|
|
@ -12,7 +12,7 @@ const EMAIL_INPUT_ID = 'email-input';
|
||||||
|
|
||||||
const command = new SlashCommandBuilder()
|
const command = new SlashCommandBuilder()
|
||||||
.setName('claim-donation')
|
.setName('claim-donation')
|
||||||
.setDescription('Claim your Donator role by verifying your OpenCollective donation');
|
.setDescription('Claim your Supporter role by verifying your OpenCollective donation');
|
||||||
|
|
||||||
async function handleCommand(interaction) {
|
async function handleCommand(interaction) {
|
||||||
const modal = new ModalBuilder()
|
const modal = new ModalBuilder()
|
||||||
|
|
@ -37,7 +37,7 @@ async function handleModal(interaction) {
|
||||||
|
|
||||||
if (member.roles.cache.has(donatorRoleId)) {
|
if (member.roles.cache.has(donatorRoleId)) {
|
||||||
await interaction.reply({
|
await interaction.reply({
|
||||||
content: 'You already have the Donator role! Thank you for your support.',
|
content: 'You already have the Supporter role! Thank you for your support.',
|
||||||
flags: 64,
|
flags: 64,
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
|
|
@ -54,7 +54,7 @@ async function handleModal(interaction) {
|
||||||
await member.roles.add(donatorRoleId);
|
await member.roles.add(donatorRoleId);
|
||||||
await interaction.editReply({
|
await interaction.editReply({
|
||||||
content:
|
content:
|
||||||
'Donation verified! You have been given the **Donator** role. Thank you for supporting RetroDECK!',
|
'Donation verified! You have been given the **Supporter** role. Thank you for supporting RetroDECK!',
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
await interaction.editReply({
|
await interaction.editReply({
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue