/nearby, subscriptions check, geocoding #2
@ -12,6 +12,7 @@ makedirs(f'{configGet("cache", "locations")}{sep}avatars', exist_ok=True)
|
|||||||
# Importing
|
# Importing
|
||||||
from modules.commands.application import *
|
from modules.commands.application import *
|
||||||
from modules.commands.applications import *
|
from modules.commands.applications import *
|
||||||
|
from modules.commands.cancel import *
|
||||||
from modules.commands.label import *
|
from modules.commands.label import *
|
||||||
from modules.commands.message import *
|
from modules.commands.message import *
|
||||||
from modules.commands.nearby import *
|
from modules.commands.nearby import *
|
||||||
|
7
modules/commands/cancel.py
Normal file
7
modules/commands/cancel.py
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
from app import app
|
||||||
|
from pyrogram import filters
|
||||||
|
from modules.utils import should_quote
|
||||||
|
|
||||||
|
@app.on_message(~ filters.scheduled & filters.command("cancel", prefixes=["/"]))
|
||||||
|
async def command_cancel(app, msg):
|
||||||
|
await msg.reply_text("Command exists.", quote=should_quote(msg))
|
Reference in New Issue
Block a user