mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-19 13:56:43 +02:00
Embed style, better yugioh api
This commit is contained in:
+8
-16
@@ -20,22 +20,14 @@ module.exports = class InfoCommand extends Command {
|
||||
const embed = new MessageEmbed()
|
||||
.setColor(0x00AE86)
|
||||
.setFooter('©2017-2018 dragonfire535#8081')
|
||||
.addField('❯ Servers',
|
||||
this.client.guilds.size, true)
|
||||
.addField('❯ Shards',
|
||||
this.client.options.shardCount, true)
|
||||
.addField('❯ Commands',
|
||||
this.client.registry.commands.size, true)
|
||||
.addField('❯ Home Server',
|
||||
this.client.options.invite ? `[Here](${this.client.options.invite})` : 'None', true)
|
||||
.addField('❯ Memory Usage',
|
||||
`${Math.round(process.memoryUsage().heapUsed / 1024 / 1024)}MB`, true)
|
||||
.addField('❯ Uptime',
|
||||
duration(this.client.uptime), true)
|
||||
.addField('❯ Version',
|
||||
`v${version}`, true)
|
||||
.addField('❯ Node Version',
|
||||
process.version, true)
|
||||
.addField('❯ Servers', this.client.guilds.size, true)
|
||||
.addField('❯ Shards', this.client.options.shardCount, true)
|
||||
.addField('❯ Commands', this.client.registry.commands.size, true)
|
||||
.addField('❯ Home Server', this.client.options.invite ? `[Here](${this.client.options.invite})` : 'None', true)
|
||||
.addField('❯ Memory Usage', `${Math.round(process.memoryUsage().heapUsed / 1024 / 1024)}MB`, true)
|
||||
.addField('❯ Uptime', duration(this.client.uptime), true)
|
||||
.addField('❯ Version', `v${version}`, true)
|
||||
.addField('❯ Node Version', process.version, true)
|
||||
.addField('❯ Library',
|
||||
'[discord.js](https://discord.js.org)[-commando](https://github.com/discordjs/Commando)', true);
|
||||
return msg.embed(embed);
|
||||
|
||||
Reference in New Issue
Block a user