exports.run = async (client, message, [x, y, z]) => {
    if (!x || !y) { return message.reply("You want to subtract nothing to one number? You don't need to call me for it, baka!"); }
    if (!z) { z = 0; }

    message.channel.send(`Total: ${Number(x - y - z)}`);
};
  
exports.conf = {
  enabled: true,
  runIn: ["text"],
  aliases: [],
  permLevel: 0,
  botPerms: [],
  requiredFuncs: [],
};
  
exports.help = {
  name: "subtract",
  description: "Subtract up to three numbers together. Note: (X-Y-Z)",
  usage: "[x:int] [y:int] [z:int]",
  usageDelim: " ",
};

@@ -37,14 +37,17 @@
 , %5Bx
+a
 , y
+a
 , z
+a
 %5D) =
@@ -56,25 +56,289 @@
 %7B%0A  
-  if (!x %7C%7C !y) %7B
+var x = client.funcs.constantMath(client, message, xa);%0A  var y = client.funcs.constantMath(client, message, ya);%0A%0A  if (!za) %7B %0A    var z = 0; %0A  %7D else %7B %0A    var z = client.funcs.constantMath(client, message, za); %0A  %7D%0A%0A  if ((x === null) %7C%7C (y === null) %7C%7C (z === null)) %7B %0A   
  ret
@@ -364,119 +364,82 @@
 You 
-want to subtract no
+are trying to add 
 thing
+s
  t
-o one number? You don't need to call me for it, baka!%22); %7D%0A    if (!z) %7B z = 0;
+hat aren't numbers or imaginary, baka!%22); %0A 
  %7D%0A%0A
-  
   me
@@ -471,15 +471,8 @@
 : $%7B
-Number(
 x - 
@@ -476,17 +476,16 @@
  - y - z
-)
 %7D%60);%0A%7D;%0A
@@ -738,28 +738,31 @@
  %22%5Bx
-:int%5D %5By:int%5D %5Bz:int
+a:str%5D %5Bya:str%5D %5Bza:str
 %5D%22,%0A

Update subtract.js