A Slack Bot built using the Slack Bolt API and Node.js to enhance communication and automate tasks within Slack.
This bot includes several functionalities to streamline Slack interactions, as shown in the screenshots below:
Below are some screenshots showcasing the capabilities of this Slack Bot:
- If you message with a "hello" the bot will respond with "Hello <@Your-username>"
- If you send any message with a "hi" word in it, the bot will also respond with "Hello <@Your-username>"
- If you send any message with "👋" in it, the bot will also respond with "Hello <@Your-username>"
- If you send any message “knock knock”, the bot will respond with " Who’s there?"
- If you send any message with a "description" word in it, the bot will respond a predefined message i.e. "@ is a full stack developer!"
- If you send any message containing the word bye in it , the bot will respond with " Goodbye @! Have a good day"
- Node.js (version 12 or higher)
- A Slack Workspace with admin permissions
- A Slack App with necessary bot permissions
-
Clone the repository bash git clone https://github.com/your-username/slack-bot.git cd slack-bot
-
Install dependencies bash npm install
-
Configure environment variables
Create a .env file with the following values: plaintext SLACK_BOT_TOKEN=your-slack-bot-token SLACK_SIGNING_SECRET=your-slack-signing-secret
-
Run the bot bash npm start
Your bot should now be up and running!
After deploying the bot, it can perform various automated tasks within your Slack workspace based on the configurations and commands you've set up.
Contributions are welcome! Feel free to open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.