Skip to content

hippogriff101/woof-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WoofBot Banner

WoofBot

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!

Features

  • 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
  • /dogpics sends a picture of a communinity members dog (powered by #cdn 😁)
  • /idea uses Hack Club AI to generate a idea for a dog themed project with hourly rate limits (and pings user when finished)
  • /woof
  • @woofBot reacts 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

Try it out

The Slack Channel is over here (#woofbot-spam)

only avalible to members of Hack Club!

Install

make sure git is installed on your device

  • Clone the Repo
git clone https://github.com/hippogriff101/woof-bot
  • Install dependencies
  1. Make a virtual environment:
python -m venv .venv
  1. Activate the .venv
# on macOS and Linux
source .venv/bin/activate
# on windows
.\venv\Scripts\activate.bat
  1. Install
pip install -r requirements.txt

if having issues then manually install the packages

  • Rename example.env to .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 🐶

About

A Slack bot for the YSWS Woof!

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages