Changed Client to PosterClient
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user