Giter VIP home page Giter VIP logo

uctech-greeter's People

Contributors

dependabot[bot] avatar jrjohnson avatar stopfstedt avatar tmarconi avatar trott avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

uctech-greeter's Issues

add clientSigningSecret to docs and test

When running npm test:

****************************************************************************************
* WARNING: Your bot is operating without recommended security mechanisms in place.     *
* Initialize your Botkit controller with a clientSigningSecret paramter to enable      *
* verification that all incoming webhooks originate with Slack:                        *
*                                                                                      *
* var controller = new Botkit.slackbot({clientSigningSecret: <my secret from slack>}); *
*                                                                                      *
****************************************************************************************

separate bot from webapp

right now, the bot and the express app both reside in the index.js file.
separate these out.
revisit the worker vs web definitions in the Procfile.

replace custom command with bot integration

so instead of /welcome-message, perhaps have the bot respond on @greeterbot welcome, or the likes.

benefits:

  • one app (bot) instead of two (bot and custom command express app)
  • reduces # of integrations needed (only one for the bot, instead of bot plus one for each command)

downsides:

  • the code to power it is less straightforward. we'd have to do some pattern matching on each posted message, instead of just responding to explicit commands.

update dependencies

it's been a while, do it.

$ npm outdated
Package        Current  Wanted  Latest  Location
app-root-path    2.2.1   2.2.1   3.0.0  uctech-greeter
botkit           0.5.8   0.5.8   4.6.2  uctech-greeter
dotenv           4.0.0   4.0.0   8.2.0  uctech-greeter
eslint          4.19.1  4.19.1   6.8.0  uctech-greeter

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.