show infraction points and expiration
This commit is contained in:
parent
29ffc9e364
commit
15286ab227
@ -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 (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', {
|
if (guild._settings.moderationPoints.enabled) description += '\n' + message.format('C_CASE_MODPOINTS', {
|
||||||
points,
|
points: infraction.points,
|
||||||
expires
|
expires: infraction.expiration
|
||||||
})
|
})
|
||||||
|
|
||||||
description += '\n\n' + message.format('C_CASE_REASON', { reason: infraction.reason });
|
description += '\n\n' + message.format('C_CASE_REASON', { reason: infraction.reason });
|
||||||
|
Loading…
Reference in New Issue
Block a user