Skip to content

watchtheads/slackbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tuff bot This a slack bot that responds to commands it uses javascrit and node.js

Commands: /tuffbot-ping check the bots latency /tuffbot-help lists all the commands /tuffbot-catfact says a random cat fact /tuffbot-disney gets a random disney character /tuffbot-fact gets a random fact /tuffbot-advice gives a piece of advice /tuffbot-roll [sides] rolls a die (f you dont put in how many sides it deafults to 6 sides) /tuffbot-8ball [question] ask the 8 ball a question

Setup

  1. Clone the repo and install dependencies:

npm install

  1. Create a .env file with your Slack tokens:

SLACK_BOT_TOKEN=xoxb-... SLACK_APP_TOKEN=xapp-...

  1. Run the bot:

node index.js

Built with

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages