forked from Galactic/galactic-bot
bugfix
This commit is contained in:
parent
300b4029a7
commit
22bcb8ce89
@ -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`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user