Compare commits

..

No commits in common. "69596e37fe8c29139f8840f1341f27b259dbba0e" and "1c38aa94e8a5f68db410dc9a24e7bbeaf4b9a8fc" have entirely different histories.

30
post.py
View file

@ -24,19 +24,25 @@ except:
meta = json.load(open('meta.json', 'r'))
takes = json.load(open('takes.json'))
args = {
'ideology': random.choice(takes['ideologies']),
'ideology2': random.choice(takes['ideologies']),
'thing': random.choice(takes['things']),
'thing2': random.choice(takes['things']),
'thing3': random.choice(takes['things']),
'site': random.choice(takes['sites']),
'ideolog': random.choice([i[:-1] + "t" for i in takes['ideologies'] if i.endswith("ism")])
}
take = random.choice(takes['templates']).format(
ideology = random.choice(takes['ideologies']),
ideology2 = random.choice(takes['ideologies']),
thing = random.choice(takes['things']),
thing2 = random.choice(takes['things']),
thing3 = random.choice(takes['things']),
site = random.choice(takes['sites']),
ideolog = random.choice([i[:-1] + "t" for i in takes['ideologies'] if i.endswith("ism")])
)
take = random.choice(takes['templates']).format(**args)
cw = random.choice("[BOT POST] " + takes['content warnings']).format(**args)
cw = random.choice(takes['content warnings']).format(
ideology = random.choice(takes['ideologies']),
ideology2 = random.choice(takes['ideologies']),
thing = random.choice(takes['things']),
thing2 = random.choice(takes['things']),
thing3 = random.choice(takes['things']),
site = random.choice(takes['sites']),
ideolog = random.choice([i[:-1] + "t" for i in takes['ideologies'] if i.endswith("ism")])
)
print(take)