mirror of
https://github.com/ReVanced/revanced-bots.git
synced 2026-01-11 13:56:15 +00:00
fix(bots/discord/commands/unmute): fix option description and embeds
This commit is contained in:
@@ -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())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user