Fix missing pings/mentions in logs

This commit is contained in:
Dragory 2019-05-03 08:08:21 +03:00
parent 2aacf6fe65
commit b8e0f26bf0
6 changed files with 18 additions and 18 deletions

View file

@ -802,7 +802,7 @@ export class UtilityPlugin extends ZeppelinPlugin<IUtilityPluginConfig> {
this.logs.log(LogType.VOICE_CHANNEL_FORCE_MOVE, {
mod: stripObjectToScalars(msg.author),
member: stripObjectToScalars(args.member, ["user"]),
member: stripObjectToScalars(args.member, ["user", "roles"]),
oldChannel: stripObjectToScalars(oldVoiceChannel),
newChannel: stripObjectToScalars(channel),
});