mirror of
https://github.com/thedevs-network/the-guard-bot
synced 2025-08-31 22:25:15 +00:00
Allow to separate users and reason using --
This commit is contained in:
@@ -33,6 +33,7 @@ const regex = XRegExp.tag('snx')`^
|
||||
\/\w+(@\w+)?
|
||||
(?<flagS> ${flagsRegex}*)
|
||||
(?<ids> (\s+@\w+|\s+\d+)*)
|
||||
(?:\s+--|\s+—)?
|
||||
(?:\s+(?<reason>.*))?
|
||||
$`;
|
||||
|
||||
|
Reference in New Issue
Block a user