Fix missing pings/mentions in logs
This commit is contained in:
parent
2aacf6fe65
commit
b8e0f26bf0
6 changed files with 18 additions and 18 deletions
|
@ -446,7 +446,7 @@ export class ModActionsPlugin extends ZeppelinPlugin<IModActionsPluginConfig> {
|
|||
|
||||
this.serverLogs.log(LogType.MEMBER_WARN, {
|
||||
mod: stripObjectToScalars(mod.user),
|
||||
member: stripObjectToScalars(memberToWarn, ["user"]),
|
||||
member: stripObjectToScalars(memberToWarn, ["user", "roles"]),
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -945,7 +945,7 @@ export class ModActionsPlugin extends ZeppelinPlugin<IModActionsPluginConfig> {
|
|||
// Log the action
|
||||
this.serverLogs.log(LogType.MEMBER_SOFTBAN, {
|
||||
mod: stripObjectToScalars(mod.user),
|
||||
member: stripObjectToScalars(memberToSoftban, ["user"]),
|
||||
member: stripObjectToScalars(memberToSoftban, ["user", "roles"]),
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue