DING TEA BOT 🧋
OBJECTIVE:
Create a bot that will use the small foot print and portability of the raspberry pi in order to
figure out how many people are in line at ding tea. Then post the information to the discord channel
so that we can hang out in the bathroom and be aware of the store's business.
Recent showcase of the bot! 🙂
Setup
- You need a raspberry pi with a camera module.
- Next, you will need to create a discord bot.
- Once the pi has arrived, you need to configure the raspberry pi to be able to connect to wifi or the ethernet as we will be doing most of our work through SSH.
- If you're planning to run a completely headless build, follow this article
- If working in a headless environment, set up VS code on the rpi and your own system so that you can SSH into the the rpi from your main work environment. As shown here
- Make sure you can take pictures
- Next, we want to fork the repo.
- Then, create a .env file at the root of the repo. Inside write
DISCORD_TOKEN=YOUR_DISCORD_TOKEN_FROM_STEP_2
- Finally, we can run main.py
- Congrats, your bot is now online and ready to snap pics 📸
Fun time! 🥳
Use the command
?dripPic
in discord To have the camera take a picture of you!
Use the command
?orwell
in discord To have the camera take a picture and analyze for faces!