commandDispatcher: copypaste moment

This commit is contained in:
Cynthia Foxwell 2022-11-29 19:37:56 -07:00
parent a693f06d1e
commit 153b91fb3c
1 changed files with 1 additions and 1 deletions

View File

@ -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;