mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 16:30:58 -05:00
Compare commits
No commits in common. "ccaa1579b986d8cf8610f04659f9c5871745c010" and "3bd917a81419f1fcc90ad242d63fb8794a04fcfb" have entirely different histories.
ccaa1579b9
...
3bd917a814
@ -71,7 +71,7 @@ export default class Developer {
|
||||
deletion: repoData.stats.deletions.toLocaleString('en-US')
|
||||
};
|
||||
const msgBody = MessageTool.concatMessage(
|
||||
`[Commit pulled](<${repoData.html_url}>)`,
|
||||
`[Commit pulled](<${repoData.commit.url}>)`,
|
||||
`Message: **${repoData.commit.message.length === 0 ? '*No commit message*' : repoData.commit.message}**`,
|
||||
`Author: **${repoData.commit.author.name}**`,
|
||||
'Changes',
|
||||
|
@ -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}\``},
|
||||
{name: 'Players', value: `${DSS.slots.used}/${DSS.slots.capacity}`},
|
||||
{name: 'Map', value: DSS?.server.mapName}
|
||||
{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}
|
||||
).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.')
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user