CCExtractor Development

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

Discord seems like a promising platform and we want to tap in on that and have some fun. To get started, we want to make a bot that posts in a channel every time a SwagLyrics repo is starred. We might have future tasks to expand this!

You can integrate your bot into the current backend since that is configured to receive starring info from GitHub already.

We made a server you can use for testing - https://discord.gg/DSUZGK4

Requirements to complete this task

We expect an opened pull request, which contains the modification requested above, unit tests that cover (most of) the changes, and documentation where necessary.

Relevant extra links

Task tags

  • python
  • swaglyrics
  • discord
  • backend

Students who completed this task

Jimmu Stonyay

Task type

  • code Code
  • assessment Outreach / Research
close

2019