diff --git a/commands/base.js b/commands/base.js index f067d6f..3365c9b 100644 --- a/commands/base.js +++ b/commands/base.js @@ -31,7 +31,7 @@ module.exports = [ arguments.forEach((argument, index) => { console.log(typeof argument) if (typeof argument == "object" || typeof argument == "function") { - arguments[index] = argument.prototype.name + arguments[index] = argument.name } }) }