{"size": 254, "ext": "js", "max_stars_repo_path": "src/commands.js", "max_stars_repo_name": "tamankodekode/telegram-bot", "max_stars_repo_stars_event_min_datetime": "2020-05-28T06:26:47.000Z", "max_stars_repo_stars_event_max_datetime": "2020-06-04T17:51:36.000Z", "max_issues_repo_path": "src/commands.js", "max_issues_repo_name": "tamankodekode/telegram-bot", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/commands.js", "max_forks_repo_name": "tamankodekode/telegram-bot", "max_forks_repo_forks_event_min_datetime": "2020-05-28T06:26:55.000Z", "max_forks_repo_forks_event_max_datetime": "2020-07-29T08:47:33.000Z"}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": 2, "avg_line_length": 15.875, "max_line_length": 41, "alphanum_fraction": 0.6181102362}
const actions = require('./actions');

const commands = {
  start: actions.start,
  help: actions.help,
};

const build = (bot) => {
  Object.keys(commands).forEach(name => {
    bot.command(name, commands[name]);
  });
};

module.exports = {
  build,
};