Crates.io | crate_glitch |
lib.rs | crate_glitch |
version | 0.2.0 |
source | src |
created_at | 2020-04-01 21:15:02.61652 |
updated_at | 2022-09-07 23:32:12.240501 |
description | matrix.org bot to provide links based on pattern matching |
homepage | https://github.com/blakehawkins/crate_glitch |
repository | https://github.com/blakehawkins/crate_glitch |
max_upload_size | |
id | 225333 |
size | 64,605 |
crate_glitch
is a matrix.org bot which monitors messages in a channel and provides links based
on simple pattern matching.
Execute as $ crate_glitch <config_file>
(default config.yaml
), with config like the following:
---
token: ""
password: ""
account: "@crates.io:matrix.org"
room: "#rust:matrix.org"
listen_to: "!crate"
prepend_with: "https://crates.io/crates/"
The bot logs in using the account and credentials provided, and begins listening in the provided room.
By default, the bot catches messages like !crate serde
and provides a link to crates.io/crates/serde.
Note: