forked from Galactic/galactic-bot
language entry for infractions that never expire
This commit is contained in:
parent
e0879e4548
commit
61cb2575d3
@ -36,6 +36,9 @@ Failed to {infraction} {targetType} {target} because {reason}.
|
|||||||
[INFRACTION_DESCRIPTIONPOINTS]
|
[INFRACTION_DESCRIPTIONPOINTS]
|
||||||
**Points:** {points} (expires {expires}) | **Total Points**: {total}
|
**Points:** {points} (expires {expires}) | **Total Points**: {total}
|
||||||
|
|
||||||
|
[INFRACTION_NO_EXPIRATION]
|
||||||
|
never
|
||||||
|
|
||||||
[INFRACTION_DESCRIPTIONDURATION]
|
[INFRACTION_DESCRIPTIONDURATION]
|
||||||
**Duration:** {duration}
|
**Duration:** {duration}
|
||||||
|
|
||||||
|
@ -193,7 +193,7 @@ class Infraction {
|
|||||||
description += `\n${this.guild.format('INFRACTION_DESCRIPTIONPOINTS', {
|
description += `\n${this.guild.format('INFRACTION_DESCRIPTIONPOINTS', {
|
||||||
points: this.points,
|
points: this.points,
|
||||||
total: this.totalPoints,
|
total: this.totalPoints,
|
||||||
expires: `<t:${Math.round(this.expiration / 1000)}:R>`
|
expires: this.expiration ? `<t:${Math.round(this.expiration / 1000)}:R>` : this.guild.format('INFRACTION_NO_EXPIRATION')
|
||||||
})}`;
|
})}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user