dev #19

Merged
profitroll merged 98 commits from dev into master 2023-04-24 13:48:22 +03:00
Showing only changes of commit 7810f3b7b9 - Show all commits

View File

@ -77,7 +77,7 @@ async def send_content(app: PosterClient) -> None:
else: else:
caption = "" caption = ""
if configGet("enabled", "posting", "submitted_caption") and ( if submitted is not None and configGet("enabled", "posting", "submitted_caption") and (
(submitted["user"] not in app.admins) or (configGet("ignore_admins", "posting", "submitted_caption") is False) (submitted["user"] not in app.admins) or (configGet("ignore_admins", "posting", "submitted_caption") is False)
): ):
caption = f"{caption}\n\n{configGet('text', 'posting', 'submitted_caption')}\n" caption = f"{caption}\n\n{configGet('text', 'posting', 'submitted_caption')}\n"