diff --git a/src/modules/utility.js b/src/modules/utility.js index c9e47ec..ac07802 100644 --- a/src/modules/utility.js +++ b/src/modules/utility.js @@ -383,9 +383,9 @@ function flagsFromInt(int, flags, withRaw = true) { for (const flag of assignedFlags) { out.push( - (flags[flag] || "") + withRaw - ? ` (1 << ${flag}, ${1n << BigInt(flag)})` - : "" + `${flags[flag] ?? ""}${ + withRaw == true ? ` (1 << ${flag}, ${1n << BigInt(flag)})` : "" + }` ); } @@ -1433,7 +1433,7 @@ appinfo.callback = async function (msg, line) { fields: [ { name: "Created", - value: ``, + value: ``, inline: true, }, ],