From 9c12bb4a15bdbc2b55bbefea9ce5ed5cccc14d84 Mon Sep 17 00:00:00 2001 From: mykola2312 <49044616+mykola2312@users.noreply.github.com> Date: Sun, 18 Feb 2024 18:27:51 +0200 Subject: [PATCH] begin implementing downloader functionality --- src/dl.rs | 1 + src/dl/download.rs | 0 src/main.rs | 2 ++ 3 files changed, 3 insertions(+) create mode 100644 src/dl.rs create mode 100644 src/dl/download.rs diff --git a/src/dl.rs b/src/dl.rs new file mode 100644 index 0000000..3137393 --- /dev/null +++ b/src/dl.rs @@ -0,0 +1 @@ +pub mod download; \ No newline at end of file diff --git a/src/dl/download.rs b/src/dl/download.rs new file mode 100644 index 0000000..e69de29 diff --git a/src/main.rs b/src/main.rs index a09ffb3..f7a5612 100644 --- a/src/main.rs +++ b/src/main.rs @@ -10,6 +10,8 @@ use teloxide::dispatching::dialogue::InMemStorage; use teloxide::dispatching::UpdateHandler; use teloxide::{prelude::*, update_listeners::Polling, utils::command::BotCommands}; +mod dl; + type State = (); type MyDialogue = Dialogue>;