post url
This commit is contained in:
parent
886f541769
commit
129bfcf8dc
1 changed files with 2 additions and 1 deletions
3
bot.py
3
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")
|
||||
|
|
Loading…
Add table
Reference in a new issue