mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Added $ to the regex for showing exclude usage information
This commit is contained in:
@@ -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),
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user