This commit is contained in:
Erik 2022-07-13 11:04:20 +03:00
parent 300b4029a7
commit 22bcb8ce89
Signed by untrusted user: Navy.gif
GPG Key ID: 811EC0CD80E7E5FB

View File

@ -122,7 +122,8 @@ class HistoryCommand extends SlashCommand {
} }
} }
}]); }]);
const { points } = result; let points = 0;
if (result) ({ points } = result);
embed.footer.text += ` | ${points} Points`; embed.footer.text += ` | ${points} Points`;
} }