From 208d6704b09828ecf19ec453e44f214099342d74 Mon Sep 17 00:00:00 2001 From: entar Date: Wed, 21 May 2025 12:28:31 +0700 Subject: [PATCH] Type fixes again --- commands/base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/base.js b/commands/base.js index 5bd21b6..f067d6f 100644 --- a/commands/base.js +++ b/commands/base.js @@ -30,7 +30,7 @@ module.exports = [ if (arguments) { arguments.forEach((argument, index) => { console.log(typeof argument) - if (typeof argument == "object") { + if (typeof argument == "object" || typeof argument == "function") { arguments[index] = argument.prototype.name } })