Update role terminology from "Donator" to "Supporter" in claim donation command

This commit is contained in:
Adam Iannazzone 2026-02-07 16:02:58 -05:00
parent 3e95c1e49d
commit e4e819a891

View file

@ -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({