tg-odesli-bot
tg-odesli-bot copied to clipboard
Change ` | `-separated list to bullets
Telegram doesn't support bullet-list, but we can use Unicode symbols like •
.
Current:
- Wilkinson - Decompression Deezer | Google Music | SoundCloud | Yandex Music | Spotify | YouTube Music | YouTube | Apple Music
Suggested:
- Wilkinson - Decompression • Deezer • Google Music • SoundCloud • Yandex Music • Spotify • YouTube Music • YouTube • Apple Music
(I don't know for what 1.
at the beginning)
I've settled on |
because it leads to shorter messages which is more convenient for me in group chats (though it requires more accurate aiming😃). I have an idea to add per-user configuration regarding displayed service providers and then this issue can be addressed as well (but no time schedule yet).
As for 1.
at the beginning - since you can send multiple song links to the bot, an index is added to denote a position of the link inside a message.
E.g. Text with <link1> and <link2>
will be replaced with:
@user wrote: Text with [1] and [2]
1. Song1 <links>
2. Song2 <links>
I've settled on | because it leads to shorter messages which is more convenient for me in group chats
Hm, okay.
I have an idea to add per-user configuration regarding displayed service providers and then this issue can be addressed as well (but no time schedule yet).
I guess it's not a good idea because:
- You can forward a message from bot to another person, and you may not know which service they prefers.
- Even if you know which service recipient prefers, like Spotify, and chose it — what to do in case when found entity didn't find in this service? But has links to other, like YouTube.
(though it requires more accurate aimingsmiley)
Yep, especially on touch screens. :pensive:
Maybe there would be a per-user configuration between one-lined (|
) and bullet-list (•
).
As for 1. at the beginning - since you can send multiple song links to the bot, an index is added to denote a position of the link inside a message.
OK, I've created #3.