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}) {
|
flagdump.callback = async function (msg, line, [numOrMention], {id, list}) {
|
||||||
if (!line || line == "") numOrMention = `<@${msg.author.id}>`;
|
if (!line || line == "") numOrMention = `<@${msg.author.id}>`;
|
||||||
|
|
||||||
const num = Number(numOrMention);
|
const num = BigInt(numOrMention);
|
||||||
if (list) {
|
if (list) {
|
||||||
let allFlags = 0n;
|
let allFlags = 0n;
|
||||||
for (const index in UserFlagsMapped) {
|
for (const index in UserFlagsMapped) {
|
||||||
|
|
Loading…
Reference in a new issue