Added $ to the regex for showing exclude usage information

This commit is contained in:
barelyprofessional
2025-10-05 00:31:20 -05:00
parent 746a33120d
commit bca4cf4f3d

View File

@@ -12,7 +12,7 @@ namespace KfChatDotNetBot.Commands;
public class TempExcludeCommand : ICommand
{
public List<Regex> Patterns => [
new Regex("^admin kasino exclude", RegexOptions.IgnoreCase),
new Regex("^admin kasino exclude$", RegexOptions.IgnoreCase),
new Regex(@"^admin kasino exclude (?<user_id>\d+)$", RegexOptions.IgnoreCase),
new Regex(@"^admin kasino exclude (?<user_id>\d+) (?<seconds>\d+)$", RegexOptions.IgnoreCase),
];