   return false unless (process.env.HUBOT_GITHUB_KEY and process.env.HUBOT_GITHUB_ORG and process.env.HUBOT_SLACK_ADMIN)
   true
 
-getOrgMembers = (msg, orgName) ->
-  ensureConfig msg.send
-  github.orgs.getMembers org: orgName, per_page: 100, (err, res) ->
-    msg.reply "There was an error getting the members for organization: #{orgName}" if err
-    msg.send "* <#{user.url}|#{user.login}>" for user in res unless err and res.length == 0
-
 
 getOrgMember = (msg, username, orgName) ->
   ensureConfig msg.send

    msg.send "#{username} is part of the organization: #{orgName}" unless err


getOrgTeams = (msg, orgName) ->
  ensureConfig msg.send
  github.orgs.getTeams org: orgName, per_page: 100, (err, res) ->
    msg.reply "There was an error getting the teams for organization: #{orgName}" if err
    msg.send "* <https://github.com/org/#{orgName}/teams/#{team.name}|#{team.name}> - #{team.description}" for team in res unless err and res.length == 0



getOrgRepos = (msg, orgName, repoType) ->
  ensureConfig msg.send
  github.repos.getFromOrg org: orgName, type: repoType, per_page: 100, (err, res) ->
    msg.reply "There was an error getting all repos for organization: #{orgName}" if err
    msg.send "*<#{repo.html_url}|#{repo.name}> - #{repo.description}" for repo in res unless err and res.length == 0


# org = {


#   summary: (msg) ->
#     # get org summary

#   # remove: {
#   #   member: (msg, name, from) ->
