This commit is contained in:
levina 2021-11-10 21:11:28 +07:00 committed by GitHub
parent 7391c74d57
commit 6665c5bed4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,9 +4,9 @@
from config import BOT_USERNAME from config import BOT_USERNAME
from pyrogram.types import Message from pyrogram.types import Message
from driver.filters import command, other_filters
from pyrogram import Client, filters from pyrogram import Client, filters
from driver.queues import QUEUE, get_queue from driver.queues import QUEUE, get_queue
from driver.filters import command, other_filters
@Client.on_message(command(["playlist", f"playlist@{BOT_USERNAME}", "queue", f"queue@{BOT_USERNAME}"]) & other_filters) @Client.on_message(command(["playlist", f"playlist@{BOT_USERNAME}", "queue", f"queue@{BOT_USERNAME}"]) & other_filters)