Last active
January 16, 2017 20:45
-
-
Save LandonPowell/8cc26871f6a2d647124ea6f10fb3a7d1 to your computer and use it in GitHub Desktop.
Stop browsing /pol/, start running this python script from your terminal instead.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
vocabulary = { | |
"[negative_noun]" : ["whiteknight", "cuck", "jew", "anti-white", "ahmed", "shill"] | |
} | |
templates = [ | |
"you're a [negative_noun]", | |
"fuck off [negative_noun]", | |
"nice try [negative_noun]", | |
"how much do they pay you to post that, [negative_noun]?" | |
"i bet you think the holocaust happened too you stupid [negative_noun]", | |
] | |
def speak(message): | |
random.seed(message) | |
response = random.choice(templates) | |
for wordtype in vocabulary: | |
response = response.replace(wordtype, random.choice(vocabulary[wordtype])) | |
return response | |
if __name__ == "__main__": | |
print(speak("I have an idea. Let's think before we post!")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment