This commit is contained in:
zxce3 2021-09-13 15:24:29 +07:00
parent 505a4202b6
commit 07c5406484

View File

@ -7,9 +7,9 @@ from config import Veez
from helpers.filters import command from helpers.filters import command
# logging # logging
logging.basicConfig(level=logging.DEBUG, format="%(asctime)s - %(name)s - %(levelname)s - %(message)s") # logging.basicConfig(level=logging.DEBUG, format="%(asctime)s - %(name)s - %(levelname)s - %(message)s")
logger = logging.getLogger(__name__) # logger = logging.getLogger(__name__)
logging.getLogger("pyrogram").setLevel(logging.WARNING) # logging.getLogger("pyrogram").setLevel(logging.WARNING)
@app.on_message(command(["search", f"search@{Veez.BOT_USERNAME}"])) @app.on_message(command(["search", f"search@{Veez.BOT_USERNAME}"]))