issues
search
KamilaBorowska
/
Pokemon-Showdown-Bot
A chat bot for Pokémon Showdown
Other
2
stars
3
forks
source link
Uptime: Add an 's' if the unit isn't 1
#2
Closed
Mystifi
closed
8 years ago
Mystifi
commented
8 years ago
This syntax is less repetitive, and works on my bot.
This avoids odd-looking '0 minute/hour' messages, reserving the singular form for only if the unit is equal to 1.