diff --git a/src/bot.rs b/src/bot.rs index b1d6c64..53d7c23 100644 --- a/src/bot.rs +++ b/src/bot.rs @@ -2,5 +2,14 @@ pub mod bot; pub mod dl; pub mod op; pub mod sanitize; +pub mod request; 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(()) + } +} \ No newline at end of file