diff --git a/src/localization/en_gb/general/en_gb_moderation.lang b/src/localization/en_gb/general/en_gb_moderation.lang index 52e6c4f..79e0240 100644 --- a/src/localization/en_gb/general/en_gb_moderation.lang +++ b/src/localization/en_gb/general/en_gb_moderation.lang @@ -36,6 +36,9 @@ Failed to {infraction} {targetType} {target} because {reason}. [INFRACTION_DESCRIPTIONPOINTS] **Points:** {points} (expires {expires}) | **Total Points**: {total} +[INFRACTION_NO_EXPIRATION] +never + [INFRACTION_DESCRIPTIONDURATION] **Duration:** {duration} diff --git a/src/structure/interfaces/Infraction.js b/src/structure/interfaces/Infraction.js index 2e74f7d..160b759 100644 --- a/src/structure/interfaces/Infraction.js +++ b/src/structure/interfaces/Infraction.js @@ -193,7 +193,7 @@ class Infraction { description += `\n${this.guild.format('INFRACTION_DESCRIPTIONPOINTS', { points: this.points, total: this.totalPoints, - expires: `` + expires: this.expiration ? `` : this.guild.format('INFRACTION_NO_EXPIRATION') })}`; }