This is a Telegram bot for publishing news to the channel.
Install Rust with rustup first. Then, run in command line:
export TELEGRAM_BOT_TOKEN=...
export TELEGRAM_CHAT_ID=... # It's the channel ID.
cargo build --release
Copy the binary file to anywhere you like or you need.
Make sure the current working directory is at the repository of Blessing Skin. Run:
./bot diff
That's it.
Prepare the plugins JSON file first.
Suppose we have a plugins.json
file like this:
[
{ "name": "a", "version": "1.0.0" },
// can be more...
]
Then run:
./bot plugin plugins.json
MIT License
2019-present (c) The Blessing Skin Team