dev #19
@ -77,7 +77,9 @@ async def send_content(app: PosterClient) -> None:
|
|||||||
else:
|
else:
|
||||||
caption = ""
|
caption = ""
|
||||||
|
|
||||||
if configGet("enabled", "posting", "submitted_caption") and ((submitted["user"] not in app.admins) or (configGet("ignore_admins", "posting", "submitted_caption") is True)):
|
if configGet("enabled", "posting", "submitted_caption") and (
|
||||||
|
(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"
|
||||||
else:
|
else:
|
||||||
caption = f"{caption}\n\n"
|
caption = f"{caption}\n\n"
|
||||||
|
Reference in New Issue
Block a user