utility.flagdump: parse input as BigInt
This commit is contained in:
parent
8a56cb723c
commit
592b5146ba
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ flagdump.usage = "[flags or user mention]";
|
|||
flagdump.callback = async function (msg, line, [numOrMention], {id, list}) {
|
||||
if (!line || line == "") numOrMention = `<@${msg.author.id}>`;
|
||||
|
||||
const num = Number(numOrMention);
|
||||
const num = BigInt(numOrMention);
|
||||
if (list) {
|
||||
let allFlags = 0n;
|
||||
for (const index in UserFlagsMapped) {
|
||||
|
|
Loading…
Reference in a new issue