rdzobot 0.1.0

Modular, but monolithic Matrix bot
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-FileCopyrightText: 2025 Wojtek Porczyk <woju@hackerspace.pl>

use anyhow::Context;
use rdzobot::Rdzobot;

#[tokio::main]
async fn main() -> anyhow::Result<()> {
    let password = std::env::var("RDZB_PASSWORD").context("please set RDZB_PASSWORD envvar")?;

    let bot = Rdzobot::new_no_restore().await?;
    bot.login(password.as_str()).await
}