aboutsummaryrefslogtreecommitdiff
path: root/src/commands/moderation
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-09-09 22:10:39 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-09-09 22:10:39 -0400
commit09120c8799762f7a940f803095f6f0ec91db4aa3 (patch)
tree2ae60282d0084a3ad6b391ec9e09cbd6c8a295f2 /src/commands/moderation
parent7635ccdbda1bbf14dd0cca52cd0e8e00e1194d62 (diff)
downloadtanzanite-09120c8799762f7a940f803095f6f0ec91db4aa3.tar.gz
tanzanite-09120c8799762f7a940f803095f6f0ec91db4aa3.tar.bz2
tanzanite-09120c8799762f7a940f803095f6f0ec91db4aa3.zip
added some timestamps
Diffstat (limited to 'src/commands/moderation')
-rw-r--r--src/commands/moderation/modlog.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/moderation/modlog.ts b/src/commands/moderation/modlog.ts
index d1a3900..c72ff39 100644
--- a/src/commands/moderation/modlog.ts
+++ b/src/commands/moderation/modlog.ts
@@ -53,7 +53,7 @@ export default class ModlogCommand extends BushCommand {
modLog.push(`**Moderator**: <@!${log.moderator}>`);
if (log.duration) modLog.push(`**Duration**: ${util.humanizeDuration(log.duration)}`);
modLog.push(`**Reason**: ${trim(log.reason ?? 'No Reason Specified.')}`);
- modLog.push(`**Date**: ${log.createdAt.toLocaleString()}`);
+ modLog.push(`**Date**: ${util.timestamp(log.createdAt)}`);
if (log.evidence) modLog.push(`**Evidence:** ${trim(log.evidence)}`);
return modLog.join(`\n`);
}