commit 851275d4064bddb3391ec6cd7b451165585d4108
parent b71d8efacae301778adb8e7dbc590c905bed6175
Author: Strange <StrangeGuy6228@protonmail.com>
Date: Sun, 14 Jan 2024 22:26:16 +0530
fixed <C-w> warn not working
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main.rs b/src/main.rs
@@ -903,7 +903,7 @@ impl LeChatPHPClient {
&app.items.items.get(idx).unwrap().text,
&self.config.members_tag,
) {
- app.input = format!("!warn {} ", username);
+ app.input = format!("!warn @{} ", username);
app.input_idx = app.input.width();
app.input_mode = InputMode::Editing;
app.items.unselect();
@@ -1045,7 +1045,7 @@ impl LeChatPHPClient {
.unwrap_or_else(String::new);
let end_msg = format!("This is your warning - {}, will be kicked next !rules",msg);
- log::error!("The Strange end_msg is :{}",end_msg);
+ // log::error!("The Strange end_msg is :{}",end_msg);
self.post_msg(PostType::Post(end_msg,None)).unwrap();
}
else {