Buddy is a Slack bot built with Node.js and the Slack Bolt Framework that brings useful utilities and fun interactions directly into Slack. It is designed to make everyday tasks quicker through simple slash commands, while serving as a growing collection of features powered by APIs and automation. As the project evolves, Buddy will continue to gain new commands focused on productivity, information, and developer tools.
- /buddy-ping — Check if the bot is online and measure its response time.
- /buddy-catfact — Get a random cat fact.
- /buddy-dogfact — Get a random dog fact.
- /buddy-joke — Get a random joke.
- /buddy-help — List all available commands.
- Inspirational quotes
- Weather lookup
- Text translation
- Password generator
- Dice roller
- Coin flip
- AI-powered commands
- Node.js
- Slack Bolt
- Axios
- dotenv
Clone the repository:
git clone https://github.com/akshatbansaltech/Slack-Bot.git
cd Slack-BotInstall the required packages:
npm installCreate a .env file in the project folder:
SLACK_BOT_TOKEN=your_bot_token
SLACK_APP_TOKEN=your_app_tokenStart the bot:
node index.jsI built Buddy to learn how Slack apps work while creating something practical. My goal is to keep adding useful commands and features as I learn more about APIs, automation, and JavaScript.
- Add more utility commands
- Improve error handling
- Add AI-powered features
- Organize commands into modules
- Write tests
- Deploy the bot so it can run 24/7
Akshat Bansal
GitHub: https://github.com/akshatbansaltech
If you have ideas or suggestions, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License.