diff --git a/src/modules/utility.js b/src/modules/utility.js index d0d5c50..e9b4fe6 100644 --- a/src/modules/utility.js +++ b/src/modules/utility.js @@ -433,7 +433,7 @@ const USER_FLAGS = [ "CERTIFIED_MODERATOR", "BOT_HTTP_INTERACTIONS", "SPAMMER", - undefined, + "DISABLE_PREMIUM", undefined, undefined, undefined, @@ -456,6 +456,7 @@ const USER_FLAGS = [ undefined, undefined, "", + "QUARANTINED", ]; function flagFromInt(int) { @@ -490,7 +491,7 @@ flagdump.usage = "[flags or user mention]"; flagdump.callback = async function (msg, line) { const num = parseInt(line); if (/<@!?([0-9]*)>/.test(line)) { - const id = line.match(/<@?!([0-9]*)>/)[1]; + const id = line.match(/<@!?([0-9]*)>/)[1]; const guild = msg.channel.guild || hf.bot.guilds.get(msg.guildID); let user = guild && (await guild.fetchMembers({userIDs: [id]})); if (!user || !user[0]) {