diff --git a/src/structure/components/commands/moderation/History.js b/src/structure/components/commands/moderation/History.js index e8678f5..96225a7 100644 --- a/src/structure/components/commands/moderation/History.js +++ b/src/structure/components/commands/moderation/History.js @@ -161,7 +161,10 @@ class HistoryCommand extends SlashCommand { } if (infraction.duration) string += `\n**Duration:** ${Util.humanise(Math.floor(infraction.duration/1000))}`; - if (infraction.points) string += `\n**Points:** ${infraction.points}`; + if (infraction.points) { + string += `\n**Points:** ${infraction.points}`; + if (infraction.expiration && infraction.expiration <= Date.now()) string += ' (expired)'; + } string += `\n**Reason:** \`${infraction.reason ? handleReason(infraction.reason) : '`N/A`'}\``; if (i !== results.length - 1) string += `\n\u200b`; //Space out cases (as long as its not at the end)