3
0
Fork 0
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:
Dragory 2019-05-03 08:08:21 +03:00
parent 83a171096b
commit 5ed953eeb6
6 changed files with 18 additions and 18 deletions

View file

@ -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(", "),
});
}