From 7fdf8c0dc722e21fe5a3ad6ef8d3a306ef85f532 Mon Sep 17 00:00:00 2001 From: Palm Date: Mon, 24 Jun 2024 08:49:38 +0700 Subject: [PATCH] fix(bots/discord/commands/unmute): fix option description and embeds --- bots/discord/src/commands/moderation/unmute.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bots/discord/src/commands/moderation/unmute.ts b/bots/discord/src/commands/moderation/unmute.ts index 0016e9d..99a6d27 100644 --- a/bots/discord/src/commands/moderation/unmute.ts +++ b/bots/discord/src/commands/moderation/unmute.ts @@ -9,7 +9,7 @@ export default { data: new SlashCommandBuilder() .setName('unmute') .setDescription('Unmute a member') - .addUserOption(option => option.setName('member').setRequired(true).setDescription('The member to mute')) + .addUserOption(option => option.setName('member').setRequired(true).setDescription('The member to unmute')) .toJSON(), memberRequirements: { @@ -28,7 +28,7 @@ export default { ) await removeRolePreset(member, 'mute') - const embed = createModerationActionEmbed('Muted', user, interaction.user) + const embed = createModerationActionEmbed('Unmuted', user, interaction.user) const reply = await interaction.reply({ embeds: [embed] }).then(it => it.fetch())