oddluck-limnoria-plugins/RedditBot
oddluck fc2328a613 RedditBot: strip some punctuation/symbols. 2019-12-19 14:42:01 +00:00
..
data Add RedditBot: a markov chat plugin. 2019-12-19 07:56:04 +00:00
LICENSE Add RedditBot: a markov chat plugin. 2019-12-19 07:56:04 +00:00
README.md RedditBot: various fixes, improvements. 2019-12-19 14:19:49 +00:00
__init__.py Add RedditBot: a markov chat plugin. 2019-12-19 07:56:04 +00:00
config.py RedditBot: various fixes, improvements. 2019-12-19 14:19:49 +00:00
plugin.py RedditBot: strip some punctuation/symbols. 2019-12-19 14:42:01 +00:00
requirements.txt RedditBot: various fixes, improvements. 2019-12-19 14:19:49 +00:00
stopwords-en.txt Add RedditBot: a markov chat plugin. 2019-12-19 07:56:04 +00:00
stopwords-es.txt Add RedditBot: a markov chat plugin. 2019-12-19 07:56:04 +00:00
test.py Add RedditBot: a markov chat plugin. 2019-12-19 07:56:04 +00:00

README.md

needs nltk and punkt installed

nltk.download('punkt')

This plugin downloads comment data from subreddits to generate chat replies via markov chains.

redditbot csv [subreddit1] [subreddit2] [etc.] - download data from subreddits as csv files

redditbot model [channel] [subreddit1] [subreddit2] [etc.] - generate channel markov model from subreddit csv files

config channel [channel] plugins.redditbot.enable - Enable RedditBot for the channel

config channel [channel] plugins.redditbot.probability - Probability of reply on channel message 0.0 - 1.0

config channel [channel] plugins.redditbot.probabilityWhenAddressed - Probability of reply on channel message containing bot's nick. 0.0 - 1.0