示例#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();
 }
示例#3
0
 public Gatekeeper(BotConfig config, IRedditAPI reddit)
 {
     this.reddit = reddit;
     this.config = config;
 }
 public SubredditDirectory(IRedditAPI reddit)
 {
     this.reddit = reddit;
 }