Cosmo!
- 2 Devlogs
- 1 Total hours
Cosmo-bot brings cat facts, jokes, NASA's Astronomy Picture of the Day, and more right into your Slack workspace via slash commands. And it replies to messages 24/7!
Cosmo-bot brings cat facts, jokes, NASA's Astronomy Picture of the Day, and more right into your Slack workspace via slash commands. And it replies to messages 24/7!
🚀 Cosmo Bot Update: New Commands & Core Features Ready!
I’ve been working hard on expanding Cosmo! and making it much more interactive. The bot is officially up and running with a brand-new suite of slash commands designed to bring utility, space exploration, and a bit of humor straight into the Slack workspace.
Here is what I’ve built and tested:
/csb-ping – Checks the bot’s latency to make sure everything is responsive.
/csb-catfact – Fetches a random cat fact for a quick dose of trivia.
/csb-joke – Drops a funny joke right into the channel.
/csb-apod – Pulls NASA’s Astronomy Picture of the Day, along with its title and description, using Slack Block Kit to render the rich media cleanly.
Everything is currently responding smoothly and handling JSON payloads beautifully. Next up, keeping an eye on the deployment logs and making sure it runs 24/7 without a hitch! 🌌✨
Today I worked on adding a NASA Astronomy Picture of the Day (APOD) feature to my Slack bot.
Using the NASA APOD API, the bot fetches the daily astronomy image along with its title and description, allowing users to explore fascinating space content directly from Slack.
Along the way, I learned more about working with APIs, handling JSON responses, and using Slack Block Kit to display rich content such as images.
A small feature, but a great hands-on experience in integrating external APIs into real-world applications. 🌌✨