Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add generation of image cards from song URIs #26

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

dgarciah98
Copy link

@dgarciah98 dgarciah98 commented Nov 30, 2022

This implements some commands that allow the generation of images as song cards containing album cover, song name, album name, artist name and genres.

To get the cover images I had to modify the track model in order to include the images object and also I included the album type to ignore the album name in case the track comes from a single (which usually has the same name as the track)

These commands can generate a card with either a plain background (/card) or a gradient background (/gradcard), and the bot will reply you the generated image if successful.

Also I have updated the ExGram library to the current one at this moment (0.30.0)

(Disclaimer: honestly I accidentaly created this PR thinking it was going to be created in my fork, you can ignore it or close it if you want 😂 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant