different symbol for about + remove useless usage

This commit is contained in:
Emily 2022-12-18 16:20:57 +11:00
parent 9a8c889234
commit f2aadf4953
2 changed files with 3 additions and 5 deletions

View file

@ -9,8 +9,7 @@ module.exports = class About extends Command {
super (name, category); super (name, category);
this.name = name, this.name = name,
this.description = 'Bot information and statistics', this.description = 'Bot information and statistics',
this.category = category, this.category = category;
this.usage = '/about';
} }
async run (client, interaction, data) { //eslint-disable-line no-unused-vars async run (client, interaction, data) { //eslint-disable-line no-unused-vars
@ -42,12 +41,12 @@ module.exports = class About extends Command {
.addFields([ .addFields([
{ {
name: 'General', name: 'General',
value: `• Users: \`${userCount}\`\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 inline: true
}, },
{ {
name: 'Technical', name: 'Technical',
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}\``, 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 inline: true
} }
]) ])

View file

@ -6,7 +6,6 @@ module.exports = class Avatar extends Command {
super (name, category); super (name, category);
this.name = name, this.name = name,
this.description = 'View information on this server.', this.description = 'View information on this server.',
this.usage = '/server',
this.category = category; this.category = category;
} }