a big-brained Twitter bot that replies to mentions with Rick and Morty quotes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
360 B

8 months ago
# NOTE: Each pasta tweet should be no more than 263 characters long!
8 months ago
def get_pastas() -> list:
pfile = open("pastas.txt", mode="r")
pastas = pfile.read().split("\n\n")
return pastas
PASTAS = get_pastas()
# TODO: make random picker only, rename
def concat_pasta(sep: str = " "):
return sep.join([random.choice(PASTAS)])