{"size": 301, "ext": "js", "max_stars_repo_path": "middleware/dev-channels.js", "max_stars_repo_name": "danreeves/helper-bot", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "middleware/dev-channels.js", "max_issues_repo_name": "danreeves/helper-bot", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "middleware/dev-channels.js", "max_forks_repo_name": "danreeves/helper-bot", "max_forks_repo_forks_event_min_datetime": "2020-02-17T14:44:07.000Z", "max_forks_repo_forks_event_max_datetime": "2020-02-17T14:44:07.000Z"}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 20.0666666667, "max_line_length": 55, "alphanum_fraction": 0.634551495}
class DevChannels {
  constructor(devChannels) {
    this.devChannels = devChannels;
    this.message = this.message.bind(this);
  }

  message(msg, state) {
    if (this.devChannels.includes(msg.channel.name)) {
      state.devChannel = true;
    }
  }
}

module.exports = DevChannels;
