The source code for https://twitter.com/ImPickleBot
Uses the Markov algorithm and a bunch of transcripts from Rick & Morty (only lines from Rick).
This would work with pretty much any transcript, in case you want to use my code for a project of yours.