Fix overly verbose warn cases
This commit is contained in:
parent
8a9112c99d
commit
12a41d7af3
1 changed files with 2 additions and 1 deletions
|
@ -607,6 +607,7 @@ export class ModActionsPlugin extends ZeppelinPlugin<TConfigSchema> {
|
|||
{
|
||||
modId: mod.id,
|
||||
ppId: mod.id !== msg.author.id ? msg.author.id : null,
|
||||
reason,
|
||||
},
|
||||
msg.channel as TextChannel,
|
||||
);
|
||||
|
@ -670,7 +671,7 @@ export class ModActionsPlugin extends ZeppelinPlugin<TConfigSchema> {
|
|||
userId: member.id,
|
||||
modId: caseArgs.modId,
|
||||
type: CaseTypes.Warn,
|
||||
reason: warnMessage,
|
||||
reason: caseArgs.reason || warnMessage,
|
||||
noteDetails: notifyResult.status !== NotifyUserStatus.Ignored ? [ucfirst(notifyResult.text)] : [],
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue