A slack bot that listens and puts your unholy hits in a spotify playlist
Our playlist, curated by this bot can be found here
- figure out how we setup this shit. one option - /setup command, that will create a record for this channel in the db, and present a spotify oauth link, connect the spotify account and save it in db. Other is, as soon as we deploy this bot into the channel, the bot greets us and runs the setup. Should be basic at first, no mumbo jumbo
- bot should be able to put spotify uri links into the playlist
spotify:asd:asd - bot MUST be able to swap the refresh token if access_token invalid
- store playlist id in mongo
- command to set playlist id
- command to get playist link
- prepare for deploy
- delete, if we want to reset the bot for a channel, delete shit
- /add command, that takes Artist - Song, searches, presents findings (interactive component), and adds to playlist
- DO NOT ADD DUPLICATES
- use Signing Secret for each request!
- clean up types (extract inline, generate types for requests, generate return types for spotify etc etc..)
- interactive component upon /setup command. should, after connecting spotify, ask if create playlist, or select one from dropdown.