feat(imports): format imports
This commit is contained in:
parent
311187b6eb
commit
b557bf5832
|
@ -1,5 +1,7 @@
|
|||
use telers::{
|
||||
event::{telegram::HandlerResult, EventReturn}, methods::BanChatMember, Bot
|
||||
event::{telegram::HandlerResult, EventReturn},
|
||||
methods::BanChatMember,
|
||||
Bot,
|
||||
};
|
||||
|
||||
use tokio::time::{sleep, Duration as DurationSleep};
|
||||
|
@ -25,6 +27,7 @@ pub async fn ban_member(
|
|||
let user_id: i64 = user.get_id().unwrap();
|
||||
|
||||
let callback = || async { bot.send(BanChatMember::new(chat_id, user_id)).await };
|
||||
|
||||
let demote_args: (&Bot, i64, i64) = (&bot, user_id, chat_id);
|
||||
|
||||
sender_builder.set_text("Невозможно забанить пользователя.");
|
||||
|
|
Loading…
Reference in New Issue