Created
March 8, 2017 04:17
-
-
Save cilquirm/07540b109c60ed2c19ad018a1c70c82c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ok(evt) => match evt { | |
slack::Event::Message(msg) => match msg { | |
slack::Message::Standard{ text, .. } => match text { | |
Some(x) => self.process_message(x), | |
_ => {}, | |
}, | |
_ => {}, | |
}, | |
_ => {} | |
}, | |
Err(err) => panic!("Error message") | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment