fix(webhook): don't try escaping backslashes in a raw string
This commit is contained in:
		@@ -14,7 +14,7 @@ namespace PluralKit.Bot
 | 
			
		||||
    {
 | 
			
		||||
        private readonly ModelRepository _repo;
 | 
			
		||||
        private readonly DispatchService _dispatch;
 | 
			
		||||
        private static readonly Regex _webhookRegex = new(@"https://(?:\\w+.)?discord(?:app)?.com/api(?:/v.*)?/webhooks/(.*)");
 | 
			
		||||
        private static readonly Regex _webhookRegex = new("https://(?:\\w+.)?discord(?:app)?.com/api(?:/v.*)?/webhooks/(.*)");
 | 
			
		||||
        public Api(ModelRepository repo, DispatchService dispatch)
 | 
			
		||||
        {
 | 
			
		||||
            _repo = repo;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user