Changed Client to PosterClient

This commit is contained in:
Profitroll
2023-02-17 16:46:33 +01:00
parent 28fc359593
commit 25af9b31f8
4 changed files with 9 additions and 9 deletions

View File

@@ -1,9 +1,9 @@
from os import listdir
from pyrogram.client import Client
from classes.poster_client import PosterClient
from pyrogram.types import BotCommand, BotCommandScopeChat
from modules.utils import configGet, locale
async def register_commands(app: Client):
async def register_commands(app: PosterClient):
if configGet("submit", "mode"):
# Registering user commands