Closed l0g4n1337 closed 2 years ago
So, I would say that for the code I posted, just remove (s) and write the word directly in the plural. When requesting a single song, the song author is displayed and for multiple songs the number of songs and the word in plural are displayed.
single song request: author is displayed.
multiple request: the number of songs + the plural word is displayed
Your bot is perfect, and I love it, it's the best music bot I've ever tried. But there are some little things that I think should be fixed! The plural forms are one of them. It's really bad to read musica(s) or anything in parenthesis. Could you update the coverters.py and add an option similar to the one that manages the time? For example, if a tracks is > 1 convert the text directly into musicas? type for this part of the code that displays the number of songs. The same could be done for so many other things like server owner in the about section etc.
embed.description = f"
{len(tracks.tracks)} música(s)
┃{time_format(total_duration)}
┃{inter.author.mention}"Thanks!