mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-18 23:55:02 +00:00
Fix missing pings/mentions in logs
This commit is contained in:
parent
83a171096b
commit
5ed953eeb6
6 changed files with 18 additions and 18 deletions
|
@ -97,7 +97,7 @@ export class PersistPlugin extends ZeppelinPlugin<IPersistPluginConfig> {
|
|||
await this.persistedData.clear(member.id);
|
||||
|
||||
this.logs.log(LogType.MEMBER_RESTORE, {
|
||||
member: stripObjectToScalars(member, ["user"]),
|
||||
member: stripObjectToScalars(member, ["user", "roles"]),
|
||||
restoredData: restoredData.join(", "),
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue