Added a prelude to reduce the amount of imports

This commit is contained in:
2023-06-29 17:33:26 +03:00
parent 580641bcf4
commit c0fcb41575
32 changed files with 78 additions and 155 deletions

View File

@ -1,5 +1,5 @@
use crate::markups::deletion_markup;
use teloxide::{adaptors::Throttle, dispatching::DpHandlerDescription, prelude::*};
use crate::prelude::*;
use teloxide::{dispatching::DpHandlerDescription, dptree::Handler};
/// Deletes the message from the callback
async fn run(bot: Throttle<Bot>, q: CallbackQuery) -> crate::Result<()> {