Changed the way exceptions are handled

This commit is contained in:
Profitroll
2023-02-17 16:45:51 +01:00
parent 663a7b0db8
commit 07203a9db9
4 changed files with 46 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
from pyrogram.client import Client
from modules.utils import configGet
from classes.poster_client import PosterClient
app = Client("duptsiaposter", bot_token=configGet("bot_token", "bot"), api_id=configGet("api_id", "bot"), api_hash=configGet("api_hash", "bot"))
app = PosterClient("duptsiaposter", bot_token=configGet("bot_token", "bot"), api_id=configGet("api_id", "bot"), api_hash=configGet("api_hash", "bot"))