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

A try to fix bot scrobbling (I have no idea what I do here) #297

Merged
merged 4 commits into from
Jan 3, 2025

Conversation

fb-sean
Copy link
Contributor

@fb-sean fb-sean commented Dec 8, 2024

No description provided.

@fb-sean
Copy link
Contributor Author

fb-sean commented Dec 8, 2024

JSON of the embed if you want to recheck If I did everything right

        {
            "color": 2829617,
            "description": ":voice:・Now Playing **F*CK THE POLICE - Holy Priest**",
            "footer": {
                "text": "Requested by seandev"
            },
            "image": {
                "height": 360,
                "proxy_url": "https://media.discordapp.net/attachments/1118592491407544413/1315291518340436028/card.png?ex=6756e02e&is=67558eae&hm=a5f730fe07b002de9dda11324e6e95c72943750f6d391ad30ec67b9476d5a2a9&",
                "url": "https://cdn.discordapp.com/attachments/1118592491407544413/1315291518340436028/card.png?ex=6756e02e&is=67558eae&hm=a5f730fe07b002de9dda11324e6e95c72943750f6d391ad30ec67b9476d5a2a9&",
                "width": 1200
            },
            "type": "rich"
        }

@fb-sean
Copy link
Contributor Author

fb-sean commented Dec 8, 2024

I forgot that the json can look like this

        {
            "color": 2829617,
            "description": ":info:・Starting to play recommended songs. To get new recommendations please clear the queue.",
            "type": "rich"
        },
        {
            "color": 2829617,
            "description": ":voice:・Now Playing **Listen To My Acid - Nico Moreno**",
            "footer": {
                "text": "Requested by sean"
            },
            "image": {
                "height": 360,
                "proxy_url": "https://media.discordapp.net/attachments/1118592491407544413/1315300081515102289/card.png?ex=6756e828&is=675596a8&hm=893ef4e03bb64e8a69235674fa267cbb10b69214b678f2c21d0fcd11f3d56dce&",
                "url": "https://cdn.discordapp.com/attachments/1118592491407544413/1315300081515102289/card.png?ex=6756e828&is=675596a8&hm=893ef4e03bb64e8a69235674fa267cbb10b69214b678f2c21d0fcd11f3d56dce&",
                "width": 1200
            },
            "type": "rich"
        }

@fb-sean
Copy link
Contributor Author

fb-sean commented Jan 1, 2025

@th0mk could you look into this if you have time 👀

@th0mk th0mk self-requested a review January 3, 2025 14:32
Copy link
Member

@th0mk th0mk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It didn't work because of the :voice: emote in your original commit, that wasn't the full emote text. I fixed it though and made some adjustments

@th0mk th0mk merged commit df7ab5e into fmbot-discord:dev Jan 3, 2025
1 of 2 checks passed
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.

2 participants