mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 16:30:58 -05:00
I didn't like that, so removed inlines.
This commit is contained in:
parent
3bd917a814
commit
a0e2ebdac1
@ -87,9 +87,9 @@ export default class MP {
|
|||||||
if (!DSS) return console.log('Endpoint failed - status');
|
if (!DSS) return console.log('Endpoint failed - status');
|
||||||
if (DSS.server.name.length > 0) {
|
if (DSS.server.name.length > 0) {
|
||||||
await interaction.reply({embeds: [new client.embed().setColor(client.config.embedColor).addFields(
|
await interaction.reply({embeds: [new client.embed().setColor(client.config.embedColor).addFields(
|
||||||
{name: 'Name', value: `\`${DSS?.server.name}\``, inline: true},
|
{name: 'Name', value: `\`${DSS?.server.name}\``},
|
||||||
{name: 'Players', value: `${DSS.slots.used}/${DSS.slots.capacity}`, inline: true},
|
{name: 'Players', value: `${DSS.slots.used}/${DSS.slots.capacity}`},
|
||||||
{name: 'Map', value: DSS?.server.mapName, inline: true}
|
{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)}`}`})]})
|
).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.')
|
} else return interaction.reply('Server is currently offline.')
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user