Remove the bully message when a user joins (#1)
This commit is contained in:
@@ -9,9 +9,9 @@ pub fn touch_grass(captures: regex::Captures, message: &Message, _: &VecDeque<Me
|
||||
|
||||
let grass_toucher = captures.get(1).unwrap().as_str();
|
||||
|
||||
let complete_message = format!("{} thinks you should go outside and touch some grass, {}",
|
||||
message.source_nickname().unwrap_or("unknown_nick").to_string(),
|
||||
grass_toucher);
|
||||
let complete_message = format!("{}: {} thinks you should go outside and touch some grass",
|
||||
grass_toucher,
|
||||
message.source_nickname().unwrap_or("unknown_nick").to_string());
|
||||
|
||||
complete_message
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user