Skip to content

A Slack bot I wrote for booking our viewing room at school.

License

Notifications You must be signed in to change notification settings

BreakTools/slack-booking-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The slack booking bot for our viewing room

At the Netherlands Filmacademy we have this very nice viewing room where we can host our VFX review sessions. This is all very nice, however recently we've been running into some scheduling conflicts. You see, a lot of students want to use the space and we really didn't really communicate about when the space was in use. This was causing some minor conflicts, so I decided to come up with a solution. My first solution was simple, I wanted school to just buy Joan (a very nice room booking system). School deemed that a little too expensive though, which was a shame because many students wanted to use a system like it. Obviously, the only solution left was for me to fully recreate all functionality we needed from Joan. Students can now book our viewing room through Slack, and reservations are displayed on a screen that is now mounted on the door. The Slack App was made with Slack Bolt for Python and the screen is just an old Android phone running a React Native app I wrote.

Slack App UI

Screen above door

How it works

It's quite a simple system:

  • The python script hosts the Slack App and a websocket server
  • The screen connects to the websocket server
  • Users book the room through Slack
  • Reservations get stored in a database
  • The screen updates according to the reservations

Quick Q&A

Q: Where's the code for the Android app?

A: I wrote the app in 4 hours, everything is hardcoded and also a complete pile of garbage. Thus I've decided to hide it from the world.

Q: Is the program vulnerable to SQL injection?

A: Honestly, probably yes lol

Q: Is this a reliable system?

A: Surprisingly, yes! It's been working great for a while now without ever crashing or malfunctioning.

About

A Slack bot I wrote for booking our viewing room at school.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages