From c7031d55e5a6790173f1466af46a73d9b4aea3d1 Mon Sep 17 00:00:00 2001 From: AnxietyisReal <96593068+AnxietyisReal@users.noreply.github.com> Date: Tue, 3 Oct 2023 04:14:57 +1100 Subject: [PATCH] Fix message --- src/commands/mp.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/mp.ts b/src/commands/mp.ts index 8e95c9b..46405a9 100644 --- a/src/commands/mp.ts +++ b/src/commands/mp.ts @@ -220,7 +220,7 @@ export default { if (!endpoint) return console.log('Endpoint failed - pallets'); const filter = endpoint.vehicles.filter(v=>v.type === 'pallet'); if (filter.length < 1) return interaction.reply('There are no pallets on the server.'); - else interaction.reply(`There are currently ${filter.length} pallets on the server.\`\`\`\n${Object.values(PalletLibrary(endpoint)).map(t=>`${t.name.padEnd(12)}${t.size}`).join('\n')}\`\`\``) + else interaction.reply(`There are currently ${filter.length} pallets on the server. Here\'s the breakdown:\`\`\`\n${Object.values(PalletLibrary(endpoint)).map(t=>`${t.name.padEnd(12)}${t.size}`).join('\n')}\`\`\``) } })[interaction.options.getSubcommand()](); },