fix(bot-discord): fix reporting to logs

This commit is contained in:
GramingFoxTeam
2023-08-19 19:32:30 +03:00
parent 93b021c010
commit 2b0b69f804
2 changed files with 3 additions and 3 deletions

View File

@@ -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,

View File

@@ -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,