diff --git a/src/modules/utility/flagdump.js b/src/modules/utility/flagdump.js index 4a39ef0..27774b1 100644 --- a/src/modules/utility/flagdump.js +++ b/src/modules/utility/flagdump.js @@ -44,7 +44,7 @@ flagdump.callback = async function (msg, line, [numOrMention], {id, list}) { UserFlagsMapped )}\`\`\``; } - } else if (!isNaN(num)) { + } else if (!Number.isNaN(num)) { return `\`\`\`\n${flagsFromInt(num, UserFlagsMapped)}\`\`\``; } else { return `\`${formatUsername(msg.author)}\`'s public flags:\n\`\`\`${flagsFromInt(