fix(bot-discord): fix again

you love
This commit is contained in:
GramingFoxTeam
2023-08-19 19:42:44 +03:00
parent 2b0b69f804
commit 3577943f0c

View File

@@ -17,10 +17,11 @@ export default {
ephemeral: true
});
await interaction.deferReply();
const targetMsg = interaction.targetMessage;
const member = await interaction.guild.members.fetch(targetMsg.author.id);
muteMember(config, member, {
const parsedDuration = await muteMember(config, member, {
channel: interaction.channel,
reason: null,
supportMute: true,