mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 20:35:02 +00:00
Add logs for !note
This commit is contained in:
parent
a608fe0163
commit
22a77994f6
3 changed files with 9 additions and 0 deletions
|
@ -626,6 +626,12 @@ export class ModActionsPlugin extends ZeppelinPlugin<TConfigSchema> {
|
|||
reason,
|
||||
});
|
||||
|
||||
this.serverLogs.log(LogType.MEMBER_NOTE, {
|
||||
mod: stripObjectToScalars(msg.author),
|
||||
user: stripObjectToScalars(user, ["user", "roles"]),
|
||||
reason,
|
||||
});
|
||||
|
||||
this.sendSuccessMessage(msg.channel, `Note added on **${userName}** (Case #${createdCase.case_number})`);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue