Bug fixes and Pyrogram bump #23
@ -53,14 +53,14 @@ async def send_content(app: PosterClient) -> None:
|
||||
logWrite(
|
||||
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"):
|
||||
await app.send_message(
|
||||
app.owner,
|
||||
locale(
|
||||
"post_invalid_pic", "message", locale=configGet("locale")
|
||||
).format(response.status, response.json()),
|
||||
).format(response.status, await response.json()),
|
||||
)
|
||||
|
||||
tmp_dir = str(uuid4())
|
||||
|
Reference in New Issue
Block a user