diff --git a/RegexBot/Module/ModCommands/Commands/_CommandBase.cs b/RegexBot/Module/ModCommands/Commands/_CommandBase.cs index 4527db2..23bf62e 100644 --- a/RegexBot/Module/ModCommands/Commands/_CommandBase.cs +++ b/RegexBot/Module/ModCommands/Commands/_CommandBase.cs @@ -95,7 +95,7 @@ namespace Noikoio.RegexBot.Module.ModCommands.Commands #region Helper methods and common values protected static readonly Regex UserMention = new Regex(@"<@!?(?\d+)>", RegexOptions.Compiled); - protected static readonly Regex RoleMention = new Regex(@"<@&(?\d+)>", RegexOptions.Compiled); + protected static readonly Regex RoleMention = new Regex(@"<@?&(?\d+)>", RegexOptions.Compiled); protected static readonly Regex ChannelMention = new Regex(@"<#(?\d+)>", RegexOptions.Compiled); protected static readonly Regex EmojiMatch = new Regex(@"<:(?[A-Za-z0-9_]{2,}):(?\d+)>", RegexOptions.Compiled); protected const string Fail403 = "I do not have the required permissions to perform that action.";