from os import getpid from pyrogram import filters from classes.poster_client import PosterClient from pyrogram.types import Message from modules.app import app from modules.logger import logWrite from modules.utils import configGet, killProc, locale @app.on_message(~ filters.scheduled & filters.command(["import"], prefixes=["", "/"])) async def cmd_import(app: PosterClient, msg: Message): if msg.from_user.id in app.admins: pass @app.on_message(~ filters.scheduled & filters.command(["export"], prefixes=["", "/"])) async def cmd_export(app: PosterClient, msg: Message): if msg.from_user.id in app.admins: pass