flagdump: fix isNaN
This commit is contained in:
parent
592b5146ba
commit
43354bcbca
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue