mattermost-bot 0.3.1

Create a Mattermost bot that listens and responds to commands
Documentation
1
2
3
4
5
6
7
8
9
pub type Result<T> = core::result::Result<T, Error>;

#[derive(Debug, thiserror::Error)]
pub enum Error {
    #[error("Please set the '{0}' environment variable")]
    EnvVarMissing(&'static str),
    #[error("problem with mattermost api")]
    MattermostApi(#[source] mattermost_api::errors::ApiError),
}