Parent Directory
|
Revision Log
|
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); |
|
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |