We saw flights landing in nearby Tegel airport from our office, and wondered where all those airplanes came from. Sure, there is flightradar24.com, but that was too easy. So I made control tower, and now we ask Slack for answers.
To work the bot needs permissions for slash commands, and incoming hooks. We have a dedicated channel #planespotting for planespotting where each sighting is posted. The control tower will reply privately if you call it anywhere else—this way you don't need to change channels.
The control tower supports 3,856 airports with scheduled flights in the world thanks to data from https://ourairports.com/. To look for flights use the command /spot followed by either the IATA code of the airport, the name of the city in english or random to look at a random airport. If the control tower doesn't see any flights in the air, you get back the current weather in that location.
All Nippon Airways
The airplane marker will feature the most common color from the airline’s logo. Around 200 airlines are supported and more can be added.
Take a break. Look outside. Spot planes.
Your mind will thank you.