mk-dl-bot_legacy/src/bot.rs
2024-03-03 19:26:30 +02:00

16 lines
306 B
Rust

pub mod bot;
pub mod dl;
pub mod notify;
pub mod op;
pub mod request;
pub mod sanitize;
pub mod start;
pub mod types;
#[macro_export]
macro_rules! reply_i18n_and_return {
($bot:expr, $chat_id:expr, $line:expr) => {
$bot.send_message($chat_id, t!($line)).await?;
return Ok(())
};
}