(II) SwagLyrics x Discord: Write a Discord Bot!
Introduction
SwagLyrics is an application that fetches the currently playing song from Spotify on Windows, Linux and macOS to displays the lyrics in the command-line or in a browser tab (using Flask). Refreshes automatically when song changes and uses lyrics fetched from Genius. The backend extends functionality and makes rapid iteration and issue management possible by automating away a lot of operations.
The task
The task is to create a bot that makes use of the Spotify connection in Discord to directly get lyrics when you want. Eg. you just have to type something like $swaglyrics
in a discord server and the bot does the rest.
We made a server you can use for testing - https://discord.gg/DSUZGK4
Requirements to complete this task
We expect a GitHub repository, which contains the modification requested above, unit tests that cover (most of) the changes, and documentation where necessary.