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 :
Found these in my school backpack, I was cleaning it. Yum!
Landed (back home, will be back in Delhi NCR really soon)
At IGI Airport's Premium Lounge
The US Embassy
Exploring delhi :D
I turn coffee into code
I touched the sacred Ganges!
In Haridwar, Uttarakhand (on the way to Rishikesh)
Jantar Mantar at New Delhi, India.
The India Gate (Delhi)
Flying to Delhi today!
Got this achievenment on GitHub.
Started my year with a GitHub commit.Github Unwrapped 2022Happy New Year and Happy Hacking! My GitHub contribution graph of 2022.