From 15286ab2277a3f3f53f2ae73070a2656ea804cae Mon Sep 17 00:00:00 2001 From: Navy Date: Thu, 13 Aug 2020 23:46:15 +0300 Subject: [PATCH] show infraction points and expiration --- structure/client/components/commands/moderation/Case.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/structure/client/components/commands/moderation/Case.js b/structure/client/components/commands/moderation/Case.js index 501bb8c..297e0c7 100644 --- a/structure/client/components/commands/moderation/Case.js +++ b/structure/client/components/commands/moderation/Case.js @@ -99,8 +99,8 @@ class CaseCommand extends Command { if (infraction.duration !== null) description += '\n' + message.format(caseLengthIndex, { time: this.client.resolver.timeAgo(infraction.duration), inSeconds: infraction.duration }); if (guild._settings.moderationPoints.enabled) description += '\n' + message.format('C_CASE_MODPOINTS', { - points, - expires + points: infraction.points, + expires: infraction.expiration }) description += '\n\n' + message.format('C_CASE_REASON', { reason: infraction.reason });