Skip to content

Latest commit

 

History

History
39 lines (18 loc) · 1.15 KB

File metadata and controls

39 lines (18 loc) · 1.15 KB

stackoverbot

A Node.js-based Slack bot for searching Stack Overflow snippet.

There are three keys required for this to run : Slack Bot Token, Google API Key, Google CX ID.

Screenshot

Available Command

Currently there's only one command for this bot find me <query> where query could be anything you want to search. Example :

find me laravel pluck

or you can mention the stackoverbot on channel :

@stackoverbot find me php sqrt

@stackoverbot find me css border-radius example

Installation

This should just works as any other Node.js application.

  1. Pull this repo
  2. Go to stackoverbot folder and run npm install
  3. Open bot.js and add your Slack Bot Token, Google API Key and Google CX ID into available vars.
  4. Run node bot.js or you can use any Node.js manager like PM2 : pm2 start bot.js

Related Project

phpartisanbot