From 703c6815c446ab1a28b9c34fe2f225db1ddc5d79 Mon Sep 17 00:00:00 2001 From: lza_menace Date: Thu, 29 Oct 2020 01:40:00 -0700 Subject: [PATCH] refactor webhook message --- suchwow/discord.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/suchwow/discord.py b/suchwow/discord.py index ba5be06..6ac5ba6 100644 --- a/suchwow/discord.py +++ b/suchwow/discord.py @@ -4,14 +4,14 @@ from suchwow import config from suchwow import wownero -intro = ["Whatup", "What is up", "What the fuck is up", "what in the fuck is up", "Yo"] -insults = ["fart sacks", "dick lips", "shit stains", "chodes", "cum guzzlers", "dipshits", "dicknipples", "turd burglars"] +intro = ["Whatup", "What is up", "What the fuck is up", "What in the fuck is up", "Yo"] +insults = ["fart sacks", "dick lips", "shit stains", "chodes", "dipshits", "dick nipples", "turd burglars", "shit birds", "meat sticks", "meat puppets"] def post_discord_webhook(post): wallet = wownero.Wallet() post_wow_address = wallet.get_address(account=post.account_index) - content = f"{choice(intro)} {choice(insults)}, check out the new SuchWow post #{post.id} from {post.submitter}! Send funds to [{post_wow_address}](https://wownero.club/address/{post_wow_address}) to show support!" + content = f"{choice(intro)} {choice(insults)}, check out the new SuchWow post [#{post.id}](https://suchwow.xyz/post/{post.id}) from [{post.submitter}](https://suchwow.xyz/?submitter={post.submitter})! Send funds to [{post_wow_address}](https://wownero.club/address/{post_wow_address}) to show support!" msg = {"content": content} discord_webhook_url = config.DISCORD_URL r = requests.post(discord_webhook_url, data=msg)