mirror of
				https://gitlab.com/Deukhoofd/DeukBot4.git
				synced 2025-10-27 08:50:04 +00:00 
			
		
		
		
	Dadjoke regex fixes
This commit is contained in:
		| @@ -10,7 +10,7 @@ namespace DeukBot4.MessageHandlers.JokeHandling | ||||
|         public string Id => "dad"; | ||||
|         public string Name => "Hi I'm dad"; | ||||
|  | ||||
|         private readonly Regex _regex = new Regex(@".*i('| a)?m (?<word>.{3,15})$", | ||||
|         private readonly Regex _regex = new Regex(@"(\s|^)i(`|’|'| a)?m (?<word>.{3,15})$", | ||||
|             RegexOptions.IgnoreCase | RegexOptions.CultureInvariant); | ||||
|  | ||||
|         public async Task Run(SocketMessage message) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user