Giter VIP home page Giter VIP logo

slackbot's Introduction

Slackbot

Introduction

A simple slackbot for the DevCongress slack, which does tasks including:

  • welcome new members
  • greet in the morning and night
  • forex echange to GH¢ e.g. @botname usd 20
  • define word: grabs the meaning of word from the Urban Dictionary

Teaching the bot new tricks

  • Read the Contribution guide.
  • Open your terminal and run npm run generate, follow the prompts to scaffold the required files.
  • Replace the scaffolded code with your own
  • Submit a PR

Find relevant documentation at Botkit and Slack API

Installation

Clone the repository

git clone https://github.com/devcongress/slackbot

Go to your terminal and navigate to the directory you cloned the code to and run

npm install

Run the Bot:

Get a Bot token from Slack:

http://my.slack.com/services/new/bot

Run your bot from the command line:

token=<MY TOKEN> node index.js

The bot is written with botkit which you can learn more about it here http://howdy.ai/botkit

License

This project is licensed under the MIT license.

slackbot's People

Contributors

0x8801 avatar jeanhuit avatar oddoye-david avatar paulkarikari avatar silentworks avatar steveamaza avatar tonymobster avatar yawboakye avatar

Watchers

 avatar  avatar

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.