module.exports = (client, message, number) => {
  if (Number(number) == number) { number = number; }
  else if (number == "e") { number = Math.E; }
  else if (number == "pi") { number = Math.PI; }
  else if (number.includes("sqrt")) { number = Math.sqrt(number.slice(4)); }
  else if (number.includes("abs")) { number = Math.abs(number.slice(3)); }
  else if (number.includes("ln")) { number = Math.LN(number.slice(2)); }
  else if (number.includes("log")) { number == Math.LOG(number.slice(3))}
  else { number = null; }
  return Number(number);
};

module.exports.conf = { requiredModules: [] };

module.exports.help = {
  name: "constantMath",
  type: "functions",
  description: "Checks a letter if it is a constant.",
};

@@ -64,16 +64,17 @@
 mber) ==
+=
  number)
@@ -115,16 +115,17 @@
 umber ==
+=
  %22e%22) %7B 
@@ -163,16 +163,17 @@
 umber ==
+=
  %22pi%22) %7B
@@ -463,17 +463,16 @@
 number =
-=
  Math.LO

Update constantMath.js