diff --git a/apps/bot-discord/src/commands/exileMemberCtx.js b/apps/bot-discord/src/commands/exileMemberCtx.js index c58c546..9a9ed52 100644 --- a/apps/bot-discord/src/commands/exileMemberCtx.js +++ b/apps/bot-discord/src/commands/exileMemberCtx.js @@ -30,7 +30,7 @@ export default { exileMemberToChannel(targetMsg.author, interaction.channel, targetMsg.content, null, config); reportToLogs(config, interaction.client, 'exiled', null, { - reason, + reason: null, actionTo: targetMsg.author, actionBy: interaction.member, channel: interaction.channel, diff --git a/apps/bot-discord/src/msgCommands/exile.js b/apps/bot-discord/src/msgCommands/exile.js index 866f373..3939110 100644 --- a/apps/bot-discord/src/msgCommands/exile.js +++ b/apps/bot-discord/src/msgCommands/exile.js @@ -27,8 +27,8 @@ export default { exileMemberToChannel(referencedMsg.author, msg.channel, message, null, config, false); - reportToLogs(config, interaction.client, 'exiled', null, { - reason, + reportToLogs(config, msg.client, 'exiled', null, { + reason: null, actionTo: referencedMsg.author, actionBy: msg.member, channel: msg.channel,