Example #1
0
 public RedditCommentReplyBot(BotConfig config, Gatekeeper gatekeeper, SubredditDirectory directory, ICommentReplyGenerator replyGenerator, IRedditAPI reddit)
 {
     this.config         = config;
     this.replyGenerator = replyGenerator;
     this.reddit         = reddit;
     this.gatekeeper     = gatekeeper;
     this.directory      = directory;
 }
 public RedditCommentReplyBot(BotConfig config, Gatekeeper gatekeeper, SubredditDirectory directory, Historian historian, ICommentReplyGenerator replyGenerator, IRedditAPI reddit)
 {
     this.config         = config;
     this.replyGenerator = replyGenerator;
     this.reddit         = reddit;
     this.gatekeeper     = gatekeeper;
     this.directory      = directory;
     this.historian      = historian;
     history             = historian.ReadHistory();
 }