9 lines
361 B
Python
9 lines
361 B
Python
from app import app
|
|
from pyrogram import filters
|
|
from pyrogram.types import Message
|
|
from pyrogram.client import Client
|
|
from modules.utils import should_quote
|
|
|
|
@app.on_message(~ filters.scheduled & filters.command("cancel", prefixes=["/"]))
|
|
async def command_cancel(app: Client, msg: Message):
|
|
await msg.reply_text("Command exists.", quote=should_quote(msg)) |