This is a SlackBot built with Python and the Slack Bolt library. The SlackBot can respond to messages in specific channels, create new channels and respond to different commands.
- Create a new Slack App and Bot User: Follow the instructions here to create a new Slack App and Bot User.
- Install the Slack App: Install the Slack App in your workspace by clicking the "Install App" button on the "Basic Information" page of your Slack App.
- Set up your environment: Clone this repository and install the required Python packages using pip.
git clone https://github.com/yourusername/slackbot.git`
pip install slack-bolt
pip install slack-cdk
- Set your environment variables: Set your Slack Bot token Slack App token as environment variables.
export SLACK_APP_TOKEN='your-slack-app-token'
export SLACK_BOT_TOKEN='your-slack-bot-token'
- Run the SlackBot: Start the SlackBot by running the following command.
python slackmate.py
If you'd like to contribute to this SlackBot, feel free to fork this repository and submit a pull request.
This SlackBot is licensed under the MIT License. See the LICENSE file for details.
This SlackBot was built using the Slack Bolt library. Special thanks to the developers of these tools for making this project possible.