2
0
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:
Wojciech Pawlik
2020-03-21 20:07:07 +01:00
parent dab3e4e99f
commit 6ca88f4133

View File

@@ -33,6 +33,7 @@ const regex = XRegExp.tag('snx')`^
\/\w+(@\w+)?
(?<flagS> ${flagsRegex}*)
(?<ids> (\s+@\w+|\s+\d+)*)
(?:\s+--|\s+—)?
(?:\s+(?<reason>.*))?
$`;