diff --git a/src/commands/disk.ts b/src/commands/disk.ts index 3f2ae98..51788ed 100644 --- a/src/commands/disk.ts +++ b/src/commands/disk.ts @@ -31,7 +31,7 @@ export default class Disk extends Command { embed.setTitle('Disk Usage'); embed.setColor('ff0000'); 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.setFooter(`Requested by ${message.author.username}#${message.author.discriminator}`, message.author.avatarURL); embed.setTimestamp();