mirror of
https://github.com/thedevs-network/the-guard-bot
synced 2025-09-03 15:45:20 +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+)?
|
\/\w+(@\w+)?
|
||||||
(?<flagS> ${flagsRegex}*)
|
(?<flagS> ${flagsRegex}*)
|
||||||
(?<ids> (\s+@\w+|\s+\d+)*)
|
(?<ids> (\s+@\w+|\s+\d+)*)
|
||||||
|
(?:\s+--|\s+—)?
|
||||||
(?:\s+(?<reason>.*))?
|
(?:\s+(?<reason>.*))?
|
||||||
$`;
|
$`;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user