Fix timestamp regex

This commit is contained in:
Deukhoofd 2018-08-12 14:40:47 +02:00
parent 929abcf7e0
commit 56f1e2740e
No known key found for this signature in database
GPG Key ID: B4C087AC81641654
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ namespace DeukBot4.MessageHandlers.CommandHandler.RequestStructure
case ParameterType.User:
return $" *(?:<@!*(?<{index}>\\d+)>|(?<{index}>\\d+)(?:$| |\n))";
case ParameterType.Timespan:
return $" *(?<{index}>\\d+.*d*[smhd])";
return $" *(?<{index}>\\d+\\.*d*[smhd])";
default:
throw new ArgumentOutOfRangeException(nameof(type), type, null);
}