commandDispatcher: copypaste moment
This commit is contained in:
parent
a693f06d1e
commit
153b91fb3c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue