Had an awesome meetup today!! Here are some moments xD
Delhi, IndiaThe Qutab Minar, Delhi, India
Back to Delhi NCR!
Interesting!
Just shipped something new! I have built Slack Spotify Bot!! This is a Slack bot that shows what you're currently listening to on Spotify. When mentioned with the trigger word "spotify", the bot will check if it has access to your Spotify account. If it doesn't, it will prompt you to authorize the app. If it does, it will use your access token to get the currently playing track and post a message in the Slack channel. This code sets up a Slack bot using the Slack Web API and Real-Time Messaging API, and uses the request-promise library to make requests to the Spotify Web API. The bot listens for messages in Slack channels that mention the bot with the trigger word "spotify", and checks if it has access to the user's Spotify account. If it doesn't, it prompts the user to authorize the app using the Spotify Accounts API. If it does, it gets the currently playing track from the Spotify Web API and posts a message in the Slack channel with the track name. Feel free to show some 💖 by starring the project.
Here's the Repository for this project :
github.com/ni5arga/slack-spotify-bot
💖Found these in my school backpack, I was cleaning it. Yum!
Yay
Roar, test
Roar
Landed (back home, will be back in Delhi NCR really soon)