From 30e8bef504acbfd009e04cd7908f5aec259f5134 Mon Sep 17 00:00:00 2001
From: loicbersier <loic.bersier1@gmail.com>
Date: Thu, 25 Jul 2019 17:09:21 +0200
Subject: [PATCH] Remove the "name" part on windows

---
 commands/utility/stats.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commands/utility/stats.js b/commands/utility/stats.js
index dc34d9c..eed7106 100644
--- a/commands/utility/stats.js
+++ b/commands/utility/stats.js
@@ -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()