diff --git a/package.json b/package.json index 21f32ad..d64f542 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cfa-manager", - "version": "1.6.5", + "version": "1.6.5a", "description": "Discord bot that manages the Chaos Forces Alliance.", "main": "src/index.js", "type": "module", diff --git a/src/commands/command/points.js b/src/commands/command/points.js index 2f61399..c575786 100644 --- a/src/commands/command/points.js +++ b/src/commands/command/points.js @@ -214,7 +214,7 @@ export async function execute(interaction) { const points = await client.knex('points') .select('*') .orderBy('amount', 'desc'); - let desc; + let desc = ``; for (let i = 0; i < points.length; i++) desc = desc.concat(`${i}. <@${points[i].discord_id}>: ${points[i].amount} point(s).\n`);