Bot used in Suisei-CN related TG groups (No-nonsense and OT). Main purpose is to manage group member's title.
Configurations are passin in via environment variable. For better debugging experience, .env
file is used.
Log level, case insensitive
Type: String
Required: true
Possible values: 0
= OFF
, 1
= ERROR
, 2
= WARN
, 3
= INFO
, 4
= DEBUG
, 5
= TRACE
, error
, warn
, info
, debug
, trace
, off
Default value: info
Telegram bot token. This should be kept confidential.
Type: String
Required: true
Chat id of debugging telegram group. This should be kept confidential.
Type: i64
Required: false
nightly
version of rustc is required.- Use
cargo run
to start in debug mode directly. .env
is optional but may be useful for debugging.
The bot is being deployed onto fly.io
on each push to master