3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

Fix double logs from warnings

This commit is contained in:
Dragory 2019-10-12 19:22:07 +03:00
parent 83f4e0c982
commit 2d98c470ef

View file

@ -632,11 +632,6 @@ export class ModActionsPlugin extends ZeppelinPlugin<TConfigSchema> {
})${messageResultText}`,
),
);
this.serverLogs.log(LogType.MEMBER_WARN, {
mod: stripObjectToScalars(mod.user),
member: stripObjectToScalars(memberToWarn, ["user", "roles"]),
});
}
async warnMember(