Skip to content

Instantly share code, notes, and snippets.

@LandonPowell
Last active January 16, 2017 20:45
Show Gist options
  • Save LandonPowell/8cc26871f6a2d647124ea6f10fb3a7d1 to your computer and use it in GitHub Desktop.
Save LandonPowell/8cc26871f6a2d647124ea6f10fb3a7d1 to your computer and use it in GitHub Desktop.
Stop browsing /pol/, start running this python script from your terminal instead.
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