GithubHelp home page GithubHelp logo

howdie's Introduction

Howdy icon

Howdie

Hack Club's own friendly welcome bot.

Development Setup

Environment Variables

Create a file called .env. The following configuration options are available to set in it:

# Bot user token from Slack
BOT_TOKEN = xoxb-••••••••••-••••••••••••-••••••••••••••••••••••••

# The main channel that Howdie should actively monitor and send greetings to
CHANNEL_ID = C••••••••

# Dev private channel for you to receive notifications about service availability
LOG_CHANNEL_ID = G••••••••

# In order to prevent the message being sent before the user joins, the number of milliseconds Howdie should wait before sending the greeting
DEFER_TIMEOUT = 2000

Setting up Howdie

$ git clone 
$ cd howdie

Prepare dependencies

$ yarn install

Make sure you have heroku-cli installed

$ heroku local

Setting up the integrated Slack bot

  1. Create a new Slack app on Slack
  2. Create one (and only one) bot user and set "Always Show My Bot as Online" to "On"
  3. Retrieve your tokens and set your environment variables

Production Setup

Deployment on Heroku

We use Heroku for managing our deployment of this project. To deploy this project to Heroku, make sure your environment variables are configured properly, and then run

$ git push heroku master

Contributing

This is a Hack Club community project. Contributions are welcome! Please refer to Hack Club's contribution guidelines.

You can also find me on Slack!

howdie's People

Contributors

itsmingjie avatar tmb avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

tmb

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.