From 6fb983978f167a8ab19296b1cc34927529971b10 Mon Sep 17 00:00:00 2001 From: lza_menace Date: Thu, 29 Oct 2020 10:21:17 -0700 Subject: [PATCH] fix webhook text again --- suchwow/discord.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/suchwow/discord.py b/suchwow/discord.py index c7b0548..cf1288e 100644 --- a/suchwow/discord.py +++ b/suchwow/discord.py @@ -12,7 +12,7 @@ insults = ["fart sacks", "dick lips", "shit stains", "chodes", "dipshits", "dick def post_discord_webhook(post): wallet = wownero.Wallet() post_wow_address = wallet.get_address(account=post.account_index) - content = f"{choice(intro)} {choice(insults)}, new SuchWow post is up! #{post.id} by {post.submitter}. Tip WOW to `{post_wow_address}` to show support! {url_for('post.uploaded_file', filename=post.image_name)}" + content = f"{choice(intro)} {choice(insults)}, new SuchWow post is up! Tip WOW to `{post_wow_address}` to show support! [#{post.id} by {post.submitter}]({url_for('post.uploaded_file', filename=post.image_name)})" msg = {"content": content} discord_webhook_url = config.DISCORD_URL r = requests.post(discord_webhook_url, data=msg)