small changes
This commit is contained in:
parent
7acf3301ad
commit
816e39df5c
1 changed files with 6 additions and 4 deletions
|
@ -36,21 +36,23 @@ module.exports = class About extends Command {
|
|||
);
|
||||
|
||||
const embed = new client.EmbedBuilder()
|
||||
.setTitle('About me')
|
||||
.setThumbnail(client.user.avatarURL({format: 'png'}))
|
||||
.setColor(bot.user.hexAccentColor ?? bot.displayHexColor)
|
||||
.setTitle('About me!')
|
||||
.addFields([
|
||||
{
|
||||
name: 'General',
|
||||
value: `• Users (approx): \`${userCount.rows[0].count.toString()}\`\n• Channels: \`${client.channels.cache.size}\`\n• Servers: \`${client.guilds.cache.size}\`\n• Commands: \`${client.commands.size}\`\n• Uptime: \`${uptime}\``,
|
||||
value: `• Users: \`${userCount}\`\n• Servers: \`${client.guilds.cache.size}\`\n• Commands: \`${client.commands.size}\`\n• Uptime: \`${uptime}\``,
|
||||
inline: true
|
||||
},
|
||||
{
|
||||
name: 'Technical',
|
||||
value: `• RAM Usage: \`${(process.memoryUsage().heapUsed / 1024 / 1024).toFixed(2)} MB\`\n• Host OS: \`${require('os').type}\`\n• Woomy version: \`v${client.version} ${build}\`\n• discord.js version: \`v${version}\`\n• node.js version: \`${process.version}\``,
|
||||
value: `• RAM Usage: \`${(process.memoryUsage().heapUsed / 1024 / 1024).toFixed(2)} MB\`\n• Woomy version: \`v${client.version} ${build}\`\n• discord.js version: \`v${version}\`\n• node.js version: \`${process.version}\``,
|
||||
inline: true
|
||||
}
|
||||
]);
|
||||
])
|
||||
.setFooter({ text: 'Made in Australia'});
|
||||
|
||||
return interaction.reply({ embeds: [embed], components: [links] });
|
||||
}
|
||||
};
|
Loading…
Reference in a new issue