Giter Club home page Giter Club logo

custom_slack_bot_nodejs_app's Introduction

Custom slack bot build using node js

This slack bot replies with jokes when the text 'jkbot' is mentioned in the message.

Used modules

How to run?

  • Our slack bot requires to communicate with the slack server using Slack Real Time Message Apis.
  • First of all create new bot/app on slack using slack services (https://ORGANISATION_NAME.slack.com/apps/new/) and note down bot name token key.
  • Clone this project and navigate cloned inside project folder.
  • Open app.js in your favourite editor and replace token key and name with the token and name of the bot respectively.
  • type npm start and it should run the nodejs server in you local machine.
  • Now go to https://slack.com/ and login to slack using your slack account.
  • Create any channel for eg. introduction and add your bot to this channel.
  • Now you can send any message to this channel including the text 'jkbot' and you can see that the bot replies with some dummy jokes.
  • You can send a private message to your custom bot including the jkbot in the message and you will receive auto reply from the bot.

custom_slack_bot_nodejs_app's People

Contributors

jitubutwal14 avatar jkasaudhan avatar

Stargazers

 avatar  avatar  avatar

Watchers

 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.