diff --git a/src/structure/components/commands/moderation/History.js b/src/structure/components/commands/moderation/History.js index f1eef3e..63f8d06 100644 --- a/src/structure/components/commands/moderation/History.js +++ b/src/structure/components/commands/moderation/History.js @@ -122,7 +122,8 @@ class HistoryCommand extends SlashCommand { } } }]); - const { points } = result; + let points = 0; + if (result) ({ points } = result); embed.footer.text += ` | ${points} Points`; }