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

[Request] fixing plurals #7

Closed
l0g4n1337 opened this issue Apr 16, 2022 · 1 comment
Closed

[Request] fixing plurals #7

l0g4n1337 opened this issue Apr 16, 2022 · 1 comment

Comments

@l0g4n1337
Copy link

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!

@l0g4n1337
Copy link
Author

l0g4n1337 commented Apr 21, 2022

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.
Discord_JUNolaLhUg

multiple request: the number of songs + the plural word is displayed

Discord_3sMwdLzsqk

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

No branches or pull requests

1 participant