diff --git a/src/lib/commandDispatcher.js b/src/lib/commandDispatcher.js index 67cfa13..8caa61c 100644 --- a/src/lib/commandDispatcher.js +++ b/src/lib/commandDispatcher.js @@ -1,7 +1,7 @@ const logger = require("./logger.js"); const {pastelize, getTopColor} = require("./utils.js"); -function tobool(val) { +function convertIfApplicable(val) { if (isNaN(val)) { if (val.toString().toLowerCase() === "true") { return true;