OvalQuilter / lyrics-status

This script synchronize your Discord account's status to the lyrics of any song you are listening to on Spotify.
GNU General Public License v2.0
31 stars 17 forks source link

emojis #7

Closed imnew827 closed 1 year ago

imnew827 commented 1 year ago

anyway to keep an emoji with the status running?

OvalQuilter commented 1 year ago

It's not possible. Or at least, it's not worked for me.

Twelve0001 commented 1 year ago

It's not possible. Or at least, it's not worked for me.

I made a personal modification to the script so whenever the lyric is "♩ "it replaces it with "🎶 {song_name} 🎶" so it is possible.

Twelve0001 commented 1 year ago

It's not possible. Or at least, it's not worked for me.

I made a personal modification to the script so whenever the lyric is "♩ "it replaces it with "🎶 {song_name} 🎶" so it is possible.

Also just tried it, putting emojis in the custom status option works fine for me

OvalQuilter commented 1 year ago

It's not possible. Or at least, it's not worked for me.

I made a personal modification to the script so whenever the lyric is "♩ "it replaces it with "notes {song_name} notes" so it is possible.

Also just tried it, putting emojis in the custom status option works fine for me

Maybe I misunderstand you, but about which emojis we are talking? I meant emoji before status: image not emoji in text.

imnew827 commented 1 year ago

yeah i meant emoji before status too

Twelve0001 commented 1 year ago

https://luna.gitlab.io/discord-unofficial-docs/custom_status.html#customstatus-structure

I don't know if this helps, but, here's some extra documentation on statuses.

OvalQuilter commented 1 year ago

https://luna.gitlab.io/discord-unofficial-docs/custom_status.html#customstatus-structure

I don't know if this helps, but, here's some extra documentation on statuses.

Hmm… Now it worked for me. Maybe I did something wrong, or it was a bug when I tried previous time. I'll add custom emoji feature in the next update. Also, thanks for such documentation! Official Discord's docs not tells about some API requests and settings, so this may help me add some features to Lyrics Status.

Twelve0001 commented 1 year ago

https://luna.gitlab.io/discord-unofficial-docs/custom_status.html#customstatus-structure I don't know if this helps, but, here's some extra documentation on statuses.

Hmm… Now it worked for me. Maybe I did something wrong, or it was a bug when I tried previous time. I'll add custom emoji feature in the next update. Also, thanks for such documentation! Official Discord's docs not tells about some API requests and settings, so this may help me add some features to Lyrics Status.

Can you share the code of the API request you used to make emojis work?

OvalQuilter commented 1 year ago

https://luna.gitlab.io/discord-unofficial-docs/custom_status.html#customstatus-structure I don't know if this helps, but, here's some extra documentation on statuses.

Hmm… Now it worked for me. Maybe I did something wrong, or it was a bug when I tried previous time. I'll add custom emoji feature in the next update. Also, thanks for such documentation! Official Discord's docs not tells about some API requests and settings, so this may help me add some features to Lyrics Status.

Can you share the code of the API request you used to make emojis work?

Haha, sorry, didn't see your message when closed the issue. 😅 If you still need the code, you can look at this line, just change the value to a unicode emoji and you are good to go (if you're not using jQuery you need to make fetch or XMLHttpRequest request instead).

imnew827 commented 1 year ago

can u push an update @OvalQuilter

OvalQuilter commented 1 year ago

can u push an update @OvalQuilter

Sorry, but what you mean? I already released an update and you should already have it.