diff --git a/src/utils.js b/src/utils.js index 37be29a..47b92d3 100644 --- a/src/utils.js +++ b/src/utils.js @@ -271,7 +271,7 @@ function getInboxMentionAllowedMentions() { }; for (const role of mentionRoles) { - if (role == null || role === "none") continue; + if (role == null || role === "none" || role === "") continue; else if (role === "here" || role === "everyone") allowedMentions.everyone = true; else allowedMentions.roles.push(role); }