Skip to content

javascriptst18/slack-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

realtime reply slack bot user

To get this up and running you need to create a new slack app and attach a new bot user to the app created and add the bot to your slack workspace.

https://api.slack.com/slack-apps

You need:

  • Bot User OAuth Access Token
  • Bot ID (by logging 'message'-variable inside of handleRealtimeMessage, it will look like : <@UCM337PUF>)
  • Dark sky api key (https://darksky.net/dev) if using the weather functionality

Put these tokens inside of .env.example and rename the file to just .env.

npm start to run the bot

About

Custom Slack Bot with real time messaging

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors