mirror of
https://git.wownero.com/lza_menace/suchwow.git
synced 2024-08-15 01:03:19 +00:00
refactor webhook message
This commit is contained in:
parent
a83f2f1d30
commit
703c6815c4
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue