Socket
Socket
Sign inDemoInstall

evalbot

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

evalbot

``` npm install --save evalbot ```


Version published
Weekly downloads
12
increased by500%
Maintainers
1
Weekly downloads
 
Created
Source

evalbot

Installation

npm install --save evalbot

Getting started

You need a repl.it API to use this bot, you can get a free trial here.

For usage with facebook, create a facebook app, then follow these steps configure it

For usage with slack, simply create a slack app, and add a bot user to your app. Then create a firebase app.

You also need a google API for googl URL shortener.

Facebook

Follow these steps to

const evalbot = require('evalbot')

evalbot.start('facebook', {
  access_token: FB_ACCESS_TOKEN,
  verify_token: FB_VERIFY TOKEN,
}, {
  port: PORT,
  replitApiKey: REPLIT_API_KEY,
  googleApiKey: GOOGLE_API_KEY,
})

Slack

const evalbot = require('evalbot')

evalbot.start('slack', {
  clientId: SLACK_CLIENT_ID,
  clientSecret: SLACK_CLIENT_SECRET,
  redirectUri: SLACK_OAUTH_REDIRECT_URI,
  scopes: ['bot'],
}, {
  port: PORT,
  replitApiKey: REPLIT_API_KEY,
  googleApiKey: GOOGLE_API_KEY,
}, {
  apiKey: FIREBASE_API_KEY,
  authDomain: FIREBASE_API_KEY,
  databaseURL: FIREBASE_DATABASE_URL,
  storageBucket: FIREBASE_STORAGE_BUCKET,
})

Questions, suggestions, issues, and any form of contribution welcome.

FAQs

Package last updated on 07 Jul 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc