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