This commit is contained in:
Loïc Bersier 2019-07-28 23:56:04 +02:00
commit 1a85c3251f

View file

@ -47,7 +47,7 @@ class StatsCommand extends Command {
cpu = stdout;
} else if (process.platform == 'win32') {
const { stdout } = await exec('wmic CPU get NAME');
cpu = stdout;
cpu = stdout.replace('Name', '');
}
const statsEmbed = new MessageEmbed()