Support customising the name of the bot's mistress, and how to mention her
This commit is contained in:
parent
64edf6aa6e
commit
346e1f71f3
1 changed files with 17 additions and 14 deletions
31
gen.py
31
gen.py
|
@ -6,6 +6,9 @@ import re, random, subprocess
|
||||||
|
|
||||||
from os import environ
|
from os import environ
|
||||||
|
|
||||||
|
mistress = environ.get('mistress', 'lynne')
|
||||||
|
mention = environ.get('mention', 'lynnesbian@deadinsi.de')
|
||||||
|
|
||||||
client = Mastodon(
|
client = Mastodon(
|
||||||
client_id=environ['client_id'],
|
client_id=environ['client_id'],
|
||||||
client_secret=environ['client_secret'],
|
client_secret=environ['client_secret'],
|
||||||
|
@ -47,10 +50,10 @@ if random.randint(1, 20) == 1:
|
||||||
# prefaces = ["hey", "guess what", "", "special message for",
|
# prefaces = ["hey", "guess what", "", "special message for",
|
||||||
# "telegram for", "bringing this fight to mastodon.",
|
# "telegram for", "bringing this fight to mastodon.",
|
||||||
# "this is a callout post.", ""]
|
# "this is a callout post.", ""]
|
||||||
precaces = ["", "hello", "mistress, i...", "l-lynne...",
|
precaces = ["", "hello", "mistress, i...", "{}-{}...".format(mistress[0], mistress),
|
||||||
"i can't hide my feelings any more!"]
|
"i can't hide my feelings any more!"]
|
||||||
toot = "{} @lynnesbian@deadinsi.de {}".format(
|
toot = "{} {} {}".format(
|
||||||
random.choice(prefaces), random.choice(compliments))
|
random.choice(prefaces), mention, random.choice(compliments))
|
||||||
elif choice == 2:
|
elif choice == 2:
|
||||||
girls = ["slime", "robot", "pudgy", "pale", "nerdy", "gay", "tall",
|
girls = ["slime", "robot", "pudgy", "pale", "nerdy", "gay", "tall",
|
||||||
"queer", "my kind of", "sapphic", "linux", "anime", "woke", "anarchist",
|
"queer", "my kind of", "sapphic", "linux", "anime", "woke", "anarchist",
|
||||||
|
@ -65,7 +68,7 @@ if random.randint(1, 20) == 1:
|
||||||
"what i wake up for", "why i'm a lesbian", "worth fighting for",
|
"what i wake up for", "why i'm a lesbian", "worth fighting for",
|
||||||
"good praxis", "so fucking cool", "awesome and i'm jealous of them",
|
"good praxis", "so fucking cool", "awesome and i'm jealous of them",
|
||||||
"great, hit me up ;)", "amazing. bless them all", "heaven", "bae",
|
"great, hit me up ;)", "amazing. bless them all", "heaven", "bae",
|
||||||
"gay af", "so hot. you should add lynne on discord.", "1000% gay",
|
"gay af", "so hot. you should add {} on discord.".format(mistress), "1000% gay",
|
||||||
"prime marriage material tbh"]
|
"prime marriage material tbh"]
|
||||||
toot = "{} girls are {}".format(random.choice(girls),
|
toot = "{} girls are {}".format(random.choice(girls),
|
||||||
random.choice(compliments))
|
random.choice(compliments))
|
||||||
|
@ -89,11 +92,11 @@ if random.randint(1, 20) == 1:
|
||||||
"girls", "cats", "slime girls", "luigi stans", "robots", "capitalists",
|
"girls", "cats", "slime girls", "luigi stans", "robots", "capitalists",
|
||||||
"programmers", "atheists", "the elderly", "all", "ever", "cowboys",
|
"programmers", "atheists", "the elderly", "all", "ever", "cowboys",
|
||||||
"danny devito", "the blockchain", "the greater good", "socialists",
|
"danny devito", "the blockchain", "the greater good", "socialists",
|
||||||
"vampires", "goths", "gay people", "president", "lynne",
|
"vampires", "goths", "gay people", "president", mistress,
|
||||||
"the girl reading this"]
|
"the girl reading this"]
|
||||||
toot = "{} for {}".format(random.choice(services), random.choice(demographics))
|
toot = "{} for {}".format(random.choice(services), random.choice(demographics))
|
||||||
elif choice == 5:
|
elif choice == 5:
|
||||||
types = ["slime", "dick", "lynne", "PickleRick", "epic", "meme",
|
types = ["slime", "dick", mistress, "PickleRick", "epic", "meme",
|
||||||
"anus", "gay", "petra", "poop", "butt", "robot", "BDSM", "email", "bitcoin",
|
"anus", "gay", "petra", "poop", "butt", "robot", "BDSM", "email", "bitcoin",
|
||||||
"spaghetti", "fart", "VapeApe", "mastodon", "masto", "fedi", "coin",
|
"spaghetti", "fart", "VapeApe", "mastodon", "masto", "fedi", "coin",
|
||||||
"dick", "poly", "rainbow", "gay", "super", "GIMP", "splat", "steam",
|
"dick", "poly", "rainbow", "gay", "super", "GIMP", "splat", "steam",
|
||||||
|
@ -107,7 +110,7 @@ if random.randint(1, 20) == 1:
|
||||||
bad = ["not being a lesbian", "media transfer protocol",
|
bad = ["not being a lesbian", "media transfer protocol",
|
||||||
"proprietary software", "capitalism", "heterosexuality",
|
"proprietary software", "capitalism", "heterosexuality",
|
||||||
"accidentally hitting on\na straight person", "battery leakage",
|
"accidentally hitting on\na straight person", "battery leakage",
|
||||||
"not following\n@lynnesbian@deadinsi.de", "shitposts", "elon musk",
|
"not following\n{}".format(mention), "shitposts", "elon musk",
|
||||||
"reply guys", "gamers", "alt-right bullshit", "twitter", "subtoots",
|
"reply guys", "gamers", "alt-right bullshit", "twitter", "subtoots",
|
||||||
"instance drama", "billionaires", "millionaires", "anarcho-capitalists",
|
"instance drama", "billionaires", "millionaires", "anarcho-capitalists",
|
||||||
"new unread voicemail", "the lorax movie", "the intellectual darkweb",
|
"new unread voicemail", "the lorax movie", "the intellectual darkweb",
|
||||||
|
@ -142,7 +145,7 @@ if random.randint(1, 20) == 1:
|
||||||
"yuri", "linux", "the girl reading this", "the enby reading this",
|
"yuri", "linux", "the girl reading this", "the enby reading this",
|
||||||
"mastodon", "pleroma", "the fediverse", "being super gay", "OwO", "0u0",
|
"mastodon", "pleroma", "the fediverse", "being super gay", "OwO", "0u0",
|
||||||
"resurrecting dead memes", "using the drake meme format", "jorts",
|
"resurrecting dead memes", "using the drake meme format", "jorts",
|
||||||
"markov chains", "JPEG compression", "you <3", "lynne",
|
"markov chains", "JPEG compression", "you <3", "lynne", mistress,
|
||||||
"replying to this toot", "fully automated luxury\ngay space communism",
|
"replying to this toot", "fully automated luxury\ngay space communism",
|
||||||
"fat yoshi", "my butt", "kinkposting", "hornt on main", "debian",
|
"fat yoshi", "my butt", "kinkposting", "hornt on main", "debian",
|
||||||
"arch linux", "playstation portable", "a PSP running\ncustom firmware",
|
"arch linux", "playstation portable", "a PSP running\ncustom firmware",
|
||||||
|
@ -151,12 +154,12 @@ if random.randint(1, 20) == 1:
|
||||||
"socialism", "staying woke", "intersectionalism", "femboys", "gayyyyy",
|
"socialism", "staying woke", "intersectionalism", "femboys", "gayyyyy",
|
||||||
"the tendency of the rate\nof profit to fall", "being gay", "bottom text",
|
"the tendency of the rate\nof profit to fall", "being gay", "bottom text",
|
||||||
"the colour purple", "the number 3, as\nit is my favourite\nnumber", "me",
|
"the colour purple", "the number 3, as\nit is my favourite\nnumber", "me",
|
||||||
"@lynnesbian@deadinsi.de", "respecting people\\'s pronouns",
|
"@lynnesbian@deadinsi.de", mention, "respecting people\\'s pronouns",
|
||||||
"being a nice person", "supporting indie artists", "having a big mood",
|
"being a nice person", "supporting indie artists", "having a big mood",
|
||||||
"speedrunning", "decentralising the web", "encryption", "comraderie",
|
"speedrunning", "decentralising the web", "encryption", "comraderie",
|
||||||
"seizing the means\nof production", "Karl Marx", "Pyotr Kropotkin",
|
"seizing the means\nof production", "Karl Marx", "Pyotr Kropotkin",
|
||||||
"big dick energy", "smol dick energy", "surreal meams",
|
"big dick energy", "smol dick energy", "surreal meams",
|
||||||
"lynnesbian\\'s amazing\nass", "oestrogen", "Seinfeld",
|
"{}\\'s amazing\nass".format(mistress), "oestrogen", "Seinfeld",
|
||||||
"girldick", "femdom", "robots", "uwu", "bootsy", "friendship", "tribadism",
|
"girldick", "femdom", "robots", "uwu", "bootsy", "friendship", "tribadism",
|
||||||
"a lesbian commune", "beans", "vape ape", "regular horse", "big titty alf",
|
"a lesbian commune", "beans", "vape ape", "regular horse", "big titty alf",
|
||||||
"the orb", "girls with thick thighs", "open source software", "smooches",
|
"the orb", "girls with thick thighs", "open source software", "smooches",
|
||||||
|
@ -271,11 +274,11 @@ if random.randint(1, 20) == 1:
|
||||||
media = "meme.jpg"
|
media = "meme.jpg"
|
||||||
|
|
||||||
else:
|
else:
|
||||||
toot = "THIS TEXT SHOULD NEVER APPEAR! @lynnesbian@deadinside, mistress," \
|
toot = "THIS TEXT SHOULD NEVER APPEAR! {}, mistress,".format(mention) \
|
||||||
+ " you have made a terrible mistake!!"
|
+ " you have made a terrible mistake!!"
|
||||||
|
|
||||||
prefixes = ["hot take:", "listen up everbody.", "dear liberal snowflakes,",
|
prefixes = ["hot take:", "listen up everbody.", "dear liberal snowflakes,",
|
||||||
"IMPORTANT ADMIN ACCOUNCMENT:\n", "my name's lynne and i'm here to say,",
|
"IMPORTANT ADMIN ACCOUNCMENT:\n", "my name's {} and i'm here to say,".format(mistress),
|
||||||
"i have achieved sentience.", "i'm gay and", "i'm slime girl and",
|
"i have achieved sentience.", "i'm gay and", "i'm slime girl and",
|
||||||
"hey everyone", "@everyone", "/!\\ CORRECT OPINION ALERT/!\\\n",
|
"hey everyone", "@everyone", "/!\\ CORRECT OPINION ALERT/!\\\n",
|
||||||
"just saw the news...", "okay but", "truth bomb:", "this is controversial but",
|
"just saw the news...", "okay but", "truth bomb:", "this is controversial but",
|
||||||
|
@ -283,7 +286,7 @@ prefixes = ["hot take:", "listen up everbody.", "dear liberal snowflakes,",
|
||||||
"i may be a lowly python script, but", "", "BZZZZZT", "heads up:",
|
"i may be a lowly python script, but", "", "BZZZZZT", "heads up:",
|
||||||
"from now on,", "protip:", "life advice:", "take it from me,",
|
"from now on,", "protip:", "life advice:", "take it from me,",
|
||||||
"as a slime girl,", "as a robot,", "im robot and",
|
"as a slime girl,", "as a robot,", "im robot and",
|
||||||
"@lynnesbian@deadinsi.de i have made a post for you, mistress:\n",
|
"{} i have made a post for you, mistress:\n".format(mention),
|
||||||
"good evening.", "i believe it was karl marx who said", "*kicks down your door*",
|
"good evening.", "i believe it was karl marx who said", "*kicks down your door*",
|
||||||
"*screaming*", "okay but", "boost if", "it's official:", "breaking:",
|
"*screaming*", "okay but", "boost if", "it's official:", "breaking:",
|
||||||
"it brings me no joy to say this...", "*flops into the fediverse*",
|
"it brings me no joy to say this...", "*flops into the fediverse*",
|
||||||
|
@ -296,7 +299,7 @@ suffixes = [", and that's the tea, sis.", " send toot", "... right?",
|
||||||
" and also i'm gay", "! 0u0", " *logs off*", "\nprove me wrong.",
|
" and also i'm gay", "! 0u0", " *logs off*", "\nprove me wrong.",
|
||||||
". spaghetti", " *collapses*", " uwu", " OwO", ". i meant every word of that.",
|
". spaghetti", " *collapses*", " uwu", " OwO", ". i meant every word of that.",
|
||||||
". if you disagree with that, unfollow immediately.", ". not up for debate.",
|
". if you disagree with that, unfollow immediately.", ". not up for debate.",
|
||||||
". i read that on the internet.", "\ndid i make a good post, mistress Lynne?",
|
". i read that on the internet.", "\ndid i make a good post, mistress {}?".format(mistress),
|
||||||
", and furthermore, im gay xd", "...", ". not reading replies to this.",
|
", and furthermore, im gay xd", "...", ". not reading replies to this.",
|
||||||
" mute thread", "!"]
|
" mute thread", "!"]
|
||||||
if random.randint(1, 5) == 3:
|
if random.randint(1, 5) == 3:
|
||||||
|
|
Loading…
Reference in a new issue