/[sudobot]/trunk/src/commands/moderation/MuteCommand.ts
ViewVC logotype

Diff of /trunk/src/commands/moderation/MuteCommand.ts

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 335 by rakin, Mon Jul 29 17:29:35 2024 UTC revision 336 by rakin, Mon Jul 29 17:29:36 2024 UTC
# Line 73  export async function mute(client: Disco Line 73  export async function mute(client: Disco
73              reason,              reason,
74              meta: {              meta: {
75                  time: timeInterval ? ms(timeInterval) : undefined                  time: timeInterval ? ms(timeInterval) : undefined
76              }              },
77                createdAt: new Date()
78          });          });
79                    
80          await client.logger.logMute(user, reason === undefined || reason.trim() === '' ? "*No reason provided*" : reason, timeInterval, msg.member!.user as User, hard);          await client.logger.logMute(user, reason === undefined || reason.trim() === '' ? "*No reason provided*" : reason, timeInterval, msg.member!.user as User, hard);

Legend:
Removed from v.335  
changed lines
  Added in v.336

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26