diff --git a/bin/nexusbot.dart b/bin/nexusbot.dart index b57502e..3178574 100644 --- a/bin/nexusbot.dart +++ b/bin/nexusbot.dart @@ -77,7 +77,7 @@ void main(List argsRaw) async { case EventTypes.Message: if (!event.senderId.startsWith("@${settings.adminName}:")) break; final results = RegExp( - r"@(?[a-zA-Z0-9._-]+):[^\s]+.*?password:\s+`(?[^`]+)`", + r"@(?[a-zA-Z0-9._-]+):[^\s]+.*?password\s+`(?[^`]+)`", ).firstMatch(event.body); if (results == null) return;