mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 12:32:03 -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 class TempExcludeCommand : ICommand
|
||||||
{
|
{
|
||||||
public List<Regex> Patterns => [
|
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+)$", RegexOptions.IgnoreCase),
|
||||||
new Regex(@"^admin kasino exclude (?<user_id>\d+) (?<seconds>\d+)$", RegexOptions.IgnoreCase),
|
new Regex(@"^admin kasino exclude (?<user_id>\d+) (?<seconds>\d+)$", RegexOptions.IgnoreCase),
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user