Expand description

githubcrates-iodocs-rs


MRSBFH - Matrix-Rust-SDK-Bot-Framework-Helper

mrsbfh is a collection of utilities to make performing certain tasks in command bots with matrix easier.

Features

  • Macro for simple autojoin functionality
  • Macros for pretty defining of commands
  • Utils for a simple Config
  • Utils for restoring and saving matrix sessions

Examples

For examples please have a look at the example-bot or take a look in the individual modules.

Re-exports

pub use serde_yaml;
pub use tokio;
pub use tracing;
pub use url;

Modules

Helpers to construct Commands

Helpers to construct a Config

Errors that the helpers can return

Helpers for the sync process

Various small Utils

Traits

An extension to simply do notices

Type Definitions

A wrapper type for the tokio sender channel with AnyMessageEventContent as content needed in multiple places