forked from Supositware/Haha-Yes
Merge branch 'master' of https://gitlab.com/loicbersier/discordbot
This commit is contained in:
commit
1a85c3251f
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ class StatsCommand extends Command {
|
||||||
cpu = stdout;
|
cpu = stdout;
|
||||||
} else if (process.platform == 'win32') {
|
} else if (process.platform == 'win32') {
|
||||||
const { stdout } = await exec('wmic CPU get NAME');
|
const { stdout } = await exec('wmic CPU get NAME');
|
||||||
cpu = stdout;
|
cpu = stdout.replace('Name', '');
|
||||||
}
|
}
|
||||||
|
|
||||||
const statsEmbed = new MessageEmbed()
|
const statsEmbed = new MessageEmbed()
|
||||||
|
|
Loading…
Reference in a new issue