Bug fixes and Pyrogram bump #23

Merged
profitroll merged 4 commits from dev into master 2023-05-16 15:45:24 +03:00
Showing only changes of commit 337a7b28aa - Show all commits

View File

@ -53,14 +53,14 @@ async def send_content(app: PosterClient) -> None:
logWrite( logWrite(
locale( locale(
"post_invalid_pic", "console", locale=configGet("locale") "post_invalid_pic", "console", locale=configGet("locale")
).format(response.status, str(response.json())) ).format(response.status, str(await response.json()))
) )
if configGet("error", "reports"): if configGet("error", "reports"):
await app.send_message( await app.send_message(
app.owner, app.owner,
locale( locale(
"post_invalid_pic", "message", locale=configGet("locale") "post_invalid_pic", "message", locale=configGet("locale")
).format(response.status, response.json()), ).format(response.status, await response.json()),
) )
tmp_dir = str(uuid4()) tmp_dir = str(uuid4())