From 910684a97e408cfcf241b70e91c5389028bfec2c Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Sun, 6 Feb 2022 21:30:13 +0700 Subject: [PATCH] test --- program/downloader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/program/downloader.py b/program/downloader.py index 9ca2b13..b974530 100644 --- a/program/downloader.py +++ b/program/downloader.py @@ -27,10 +27,10 @@ is_downloading = False @Client.on_message(command(["song", f"song@{bn}"]) & ~filters.edited) -def song_downloader(_, message): +async def song_downloader(_, message): global is_downloading user_id = message.from_user.id - if is_gbanned_user(user_id): + if await is_gbanned_user(user_id): message.reply("❗️ **You've blocked from using this bot!**") return query = " ".join(message.command[1:])