From a0e2ebdac15a085e207e2d54cc3fbeee7fe63014 Mon Sep 17 00:00:00 2001 From: AnxietyisReal <96593068+AnxietyisReal@users.noreply.github.com> Date: Tue, 26 Dec 2023 17:31:59 +1100 Subject: [PATCH] I didn't like that, so removed inlines. --- src/commands/mp.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/commands/mp.ts b/src/commands/mp.ts index 216fa0a..f3f94a5 100644 --- a/src/commands/mp.ts +++ b/src/commands/mp.ts @@ -87,9 +87,9 @@ export default class MP { if (!DSS) return console.log('Endpoint failed - status'); if (DSS.server.name.length > 0) { await interaction.reply({embeds: [new client.embed().setColor(client.config.embedColor).addFields( - {name: 'Name', value: `\`${DSS?.server.name}\``, inline: true}, - {name: 'Players', value: `${DSS.slots.used}/${DSS.slots.capacity}`, inline: true}, - {name: 'Map', value: DSS?.server.mapName, inline: true} + {name: 'Name', value: `\`${DSS?.server.name}\``}, + {name: 'Players', value: `${DSS.slots.used}/${DSS.slots.capacity}`}, + {name: 'Map', value: DSS?.server.mapName} ).setFooter({text: `Version: ${DSS?.server.version} | Time: ${`${('0'+Math.floor((DSS?.server.dayTime/3600/1000))).slice(-2)}:${('0'+Math.floor((DSS?.server.dayTime/60/1000)%60)).slice(-2)}`}`})]}) } else return interaction.reply('Server is currently offline.') },