This is a Python library that is used for generating strings that what Mattophobia, COO of Nerd Cubed LTD, would say. This is a rewrite of the NPM package of the same name by Jack Baron, viewable here: https://github.com/lolPants/mattophobia-says/
python3 -m pip install mattophobia_says
#Import the library
from mattophobia_says import MattSays
#Setup the generator
generator = MattSays()
#Generate a random Matt string
print(generator.generate())
Example output:
Damn hell god damn it holy wanker fuck cunt cock asshat.
MattSays()
lets you submit your own lists of profanities to the generator if you feel like the current list of words aren't enough.
MattSays(swears, ings, standalone)
swears - A list of various swearwords
ings - A list of words ending in "ing"
standalone - A list of standalone sentences that can be sent in place of a randomly generated string of swears.
You can customize the length of MattSays().generate()
too:
MattSays().generate(min, max)
min - An int determining the minimum length of the string
max - An int determining the maximum length of the string
- Python 3+ (Tested on 3.6, but should work on earlier versions)