pub fn new<A,B>(name: A, token: B) -> Self
        where A: Into<String>, B: Into<String> {

        SlackBot {
            name: name.into(),
            token: token.into(),
            handlers: HashMap::new()
        }
    }
/// Create a new bot to serve your team!
///
/// # Examples
///
/// ```
/// use slackbot::SlackBot;
///
/// let mut my_bot = SlackBot::new("bot", "YOUR_API_TOKEN");
/// ```
Create a new bot to serve your team!
Create a new bot to serve your team!
pub fn new<A,B>(name: A, token: B) -> Self
        where A: Into<String>, B: Into<String> {
        SlackBot {
            name: name.into(),
            token: token.into(),
            handlers: HashMap::new()
        }
    }
pub fn new < A , B > ( name : A , token : B ) -> Self where A : Into < String > , B : Into < String > { SlackBot { name : name . into ( ) , token : token . into ( ) , handlers : HashMap :: new ( ) } }
Create a new bot to serve your team!
Create a new bot to serve your team!
name
A
token
B
name
A
token
B
examples
```
use slackbot::SlackBot.

let mut my_bot = SlackBot::new("bot", "YOUR_API_TOKEN");
```
` ` ` use slackbot :: SlackBot . let mut my_bot = SlackBot :: new ( " bot " " YOUR_API_TOKEN " ) ; ` ` `