From 129bfcf8dcb1a7b4c2e98262b7bde413065a8053 Mon Sep 17 00:00:00 2001 From: pancakes Date: Thu, 22 Feb 2024 13:56:58 +1000 Subject: [PATCH] post url --- bot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 0e5b341..af77ac8 100644 --- a/bot.py +++ b/bot.py @@ -149,7 +149,8 @@ post_content = [ "\n\n", "Artist: " + post["tag_string_artist"] + "\n" if config.type == "danbooru" and len(post["tag_string_artist"]) > 0 else "", "Score: " + str(post["score"]) + "\n", - "Source: " + post["source"] + "\n\n" if len(post["source"]) > 0 else "\n", + "Source: " + post["source"] + "\n\n" if len(post["source"]) > 0 else "", + "\n\n" + post["url"] if config.type == "danbooru" else "" ] mastodon = Mastodon(access_token=f"auth/{argv[1]}.auth.secret")