1
0
Fork 0

Fixed result

refactor/models
Bsian 2019-11-02 13:26:45 +00:00
parent e9110c3180
commit 8e59238c5d
No known key found for this signature in database
GPG Key ID: 097FB9A291026091
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ export default class Disk extends Command {
embed.setTitle('Disk Usage'); embed.setTitle('Disk Usage');
embed.setColor('ff0000'); embed.setColor('ff0000');
embed.setDescription(`/home/${account.username}`); embed.setDescription(`/home/${account.username}`);
embed.addField('Result', dataConversion(Number(result)), true); embed.addField('Result', dataConversion(Number(result.split(/ +/g)[0])), true);
embed.addField('Time taken', totalTime, true); embed.addField('Time taken', totalTime, true);
embed.setFooter(`Requested by ${message.author.username}#${message.author.discriminator}`, message.author.avatarURL); embed.setFooter(`Requested by ${message.author.username}#${message.author.discriminator}`, message.author.avatarURL);
embed.setTimestamp(); embed.setTimestamp();