Skip to content

PrajwaI/SlackBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌌 Stardance

A fun Slack bot built with Bolt for JavaScript that adds useful tools and mini-games to your Slack workspace.

Stardance Banner

✨ Features

  • 📖 /ps-help — List all commands
  • 🏓 /ps-ping — Measure bot latency
  • 🎲 /ps-random [max] — Generate a random number
  • π /ps-pi — Display the value of Pi
  • 🪙 /ps-coinflip — Flip a coin
  • 📊 /ps-coinflip-stats — View coin flip statistics
  • 🍪 /ps-cookie — Click a cookie button
  • 📈 /ps-cookie-stats — View total cookie clicks

🚀 Installation

Clone the repository:

git clone https://github.com/PrajwaI/SlackBot.git
cd SlackBot

Install dependencies:

npm install

Create a .env file:

SLACK_BOT_TOKEN=your_bot_token
SLACK_APP_TOKEN=your_app_token

Start the bot:

node index.js

🛠 Built With

  • Node.js
  • Slack Bolt for JavaScript
  • Socket Mode
  • dotenv

📂 Project Structure

.
├── index.js
├── package.json
├── package-lock.json
└── .env (not committed)

🎯 Future Ideas

  • 🎮 Trivia game
  • 📝 Daily standups
  • 📅 Reminders
  • ☁️ Weather lookup
  • 🎵 Music commands
  • 💾 Persistent statistics database

📄 License

MIT License

Releases

Packages

Contributors

Languages