This is a Slack Bot for the YSWS Woof!
You can have a look at our website here.
Read my blog post on woof here.
This project is being submitted to Flavortown.
Note
This is currently being hosted on a Pi Zero 2 W!
- Reacts with a random emoji (from list) and has a 1 in 3 chance of either: replying in thread, sending a dog pic in thread or passing when user types 'woof' in channel
/dogpicssends a picture of a communinity members dog (powered by#cdn😁)/ideauses Hack Club AI to generate a idea for a dog themed project with hourly rate limits (and pings user when finished)/woof@woofBotreacts to message and sends dog image in thread- Reacts with
:neocat_evil(hc slack exclusive) and sends message in thread when 'meow' is typed in chat
The Slack Channel is over here (#woofbot-spam)
only avalible to members of Hack Club!
make sure git is installed on your device
- Clone the Repo
git clone https://github.com/hippogriff101/woof-bot
- Install dependencies
- Make a virtual environment:
python -m venv .venv
- Activate the
.venv
# on macOS and Linux
source .venv/bin/activate
# on windows
.\venv\Scripts\activate.bat
- Install
pip install -r requirements.txt
if having issues then manually install the packages
- Rename
example.envto.env
make sure to never commit private variables
Add the following enviromental variables:
SLACK_BOT_TOKEN=
HCAI-API_KEY=
SLACK_APP_TOKEN=
- Install to channel on Slack
- Run Script
python socketmd.py
- WOOF 🐶