small changes

This commit is contained in:
Emily 2022-12-17 21:03:42 +11:00
parent 7acf3301ad
commit 816e39df5c

View file

@ -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\`\nHost OS: \`${require('os').type}\`\nWoomy 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\`\nWoomy 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] });
}
};