/check-limit: fix wrong unit name in field name
This commit is contained in:
parent
6792c05959
commit
b2ee156028
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ export default class MyLimit extends Command implements Command {
|
|||
fields.push({ name: "Usage", inline: true, value: `${userQuotaRecovery.used} ${userQuotaRecovery.unitName}`.trim() });
|
||||
|
||||
if (userQuotaRecovery.recoveryTimestamp !== undefined) fields.push({
|
||||
name: `Recovery for ${recoveryFor} message${recoveryFor>1 ? "s" : ""}`,
|
||||
name: `Recovery for ${recoveryFor} ${userQuotaRecovery.unitName}`.trim(),
|
||||
value: userQuotaRecovery.recoveryTimestamp === Infinity ? "never" :
|
||||
`<t:${Math.ceil(userQuotaRecovery.recoveryTimestamp/1000)}:R>`
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue