Fix moon count always saying 2

This commit is contained in:
Ethan Lane 2024-08-15 19:29:08 +01:00
parent afbee94a75
commit 89b3af9523
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@ export default async function List(interaction: ButtonInteraction) {
.setTitle(`${member?.user.username}'s Moons`)
.setColor(EmbedColours.Ok)
.setDescription(description.join("\n"))
.setFooter({ text: `${moons.length} moons` });
.setFooter({ text: `${moons[1]} moons` });
const row = new ActionRowBuilder<ButtonBuilder>()
.addComponents(

View file

@ -23,7 +23,7 @@ export default async function ListMoons(interaction: CommandInteraction) {
.setTitle(`${user.username}'s Moons`)
.setColor(EmbedColours.Ok)
.setDescription(description.join("\n"))
.setFooter({ text: `${moons.length} moons` });
.setFooter({ text: `${moons[1]} moons` });
const row = new ActionRowBuilder<ButtonBuilder>()
.addComponents(