Skip to content
This repository has been archived by the owner on Apr 29, 2021. It is now read-only.

Latest commit

 

History

History
52 lines (30 loc) · 1.31 KB

README.md

File metadata and controls

52 lines (30 loc) · 1.31 KB

NorrisBot

It's a very light project in NodeJS for create a slack bot and interact with an external API for send Chuck Norris Fact with your name inside !

Installation

  1. Create your bot on you're Slack Team administration panel. Check doc here : https://api.slack.com/bot-users

  2. Now you can invite the bot on you're channel !

  3. Get the token of this bot. (Don't forget to keep it secret !) Format : "xoxp-XXXXXXXX-XXXXXXXX-XXXXX"

  4. Clone or download this repo. Don't forget to install NPM dependencies ! npm install

  5. Paste the token in app.js : line 8.

Usage

Launch the app.js file.

node app.js

Just write in a channel where the bot is :

"Am I a god ?" or "Roundhouse kick" or "I am Chuck Norris"

And enjoy the roundhouse kick in your mate's face !

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Credits

Roundhouse kick in your face API : http://www.icndb.com/api/ Bot interface used : Botkit https://github.com/howdyai/botkit (Check the repo for more examples or another platforms !)

License

The MIT License (MIT)

Copyright (c) 2016 Clément Le Biez

Check LICENSE file for more informations