diff --git a/docs/user_agents.md b/docs/user_agents.md index 1b1f0b2..a0c9910 100644 --- a/docs/user_agents.md +++ b/docs/user_agents.md @@ -11,8 +11,9 @@ Here are listed the most common clients, and their name colors in the chat. | [bRAC](https://github.com/MeexReay/bRAC) | 리㹰<{name}> {text} | `\uB9AC\u3E70<(.*?)> (.*)` | green | [CRAB](https://gitea.bedohswe.eu.org/pixtaded/crab) | ═══<{name}> {text} | `\u2550\u2550\u2550<(.*?)> (.*)` | light red | [Mefidroniy](https://github.com/OctoBanon-Main/mefedroniy-client) | °ʘ<{name}> {text} | `\u00B0\u0298<(.*?)> (.*)` | light magenta +| [cRACk](https://github.com/pansangg/cRACk) | ⁂<{name}> {text} | `\u2042<(.*?)> (.*)` | gold | clRAC | <{name}> {text} | `<(.*?)> (.*)` | cyan ## developer notes -in auth-mode, there is must to be `> ` after name (`{name}> {text}`) \ No newline at end of file +in auth-mode, there is must to be `> ` after name (`{name}> {text}`) diff --git a/src/chat/mod.rs b/src/chat/mod.rs index bc6fa56..b2f69c8 100644 --- a/src/chat/mod.rs +++ b/src/chat/mod.rs @@ -41,6 +41,7 @@ lazy_static! { (Regex::new(r"\u{B9AC}\u{3E70}<(.*?)> (.*)").unwrap(), "#70fa7a".to_string()), // bRAC (Regex::new(r"\u{2550}\u{2550}\u{2550}<(.*?)> (.*)").unwrap(), "#fa7070".to_string()), // CRAB (Regex::new(r"\u{00B0}\u{0298}<(.*?)> (.*)").unwrap(), "#da70fa".to_string()), // Mefidroniy + (Regex::new(r"\u{2042}<(.*?)> (.*)").unwrap(), "#f5f543".to_string()), // cRACk (Regex::new(r"<(.*?)> (.*)").unwrap(), "#70fadc".to_string()), // clRAC ];