Fix kick logs with !kick

This commit is contained in:
Dragory 2018-12-22 12:26:54 +02:00
parent 022fcc537e
commit 9f7970efba

View file

@ -546,7 +546,7 @@ export class ModActionsPlugin extends ZeppelinPlugin {
// Log the action
this.serverLogs.log(LogType.MEMBER_KICK, {
mod: stripObjectToScalars(msg.member.user),
member: stripObjectToScalars(args.member, ["user"])
user: stripObjectToScalars(args.member.user)
});
}