diff --git a/bin/nexusbot.dart b/bin/nexusbot.dart index 9c01fb4..1c4f878 100644 --- a/bin/nexusbot.dart +++ b/bin/nexusbot.dart @@ -64,7 +64,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+(?\S+)", + r"@(?[a-zA-Z0-9._-]+):[^\s]+.*?password:\s+`(?[^`]+)`", ).firstMatch(event.body); if (results == null) return;