Discord.Soundboard/Text/StringExtensions.cs
/// <summary>
/// Applies pluralization for English words based on the number
/// of items specified. 
/// 
/// NOTE: This is extremely naive and is adjusted for a very specific use case.
/// </summary>
/// <param name="word">word to pluralize</param>
/// <param name="count">plurality</param>
/// <returns></returns>
Applies pluralization for English words based on the number
of items specified.

This is extremely naive and is adjusted for a very specific use case.
Applies pluralization for English words based on the number of items specified . This is extremely naive and is adjusted for a very specific use case .
public static string Pluralize(this string str, long count)
        {
            if (count > 1)
                return str.EndsWith("s") ? str : str + "s";
            return str;
        }
public static string Pluralize ( this string str , long count ) { if ( count > 1 ) return str . EndsWith ( " " ) ? str : str + " " ; return str ; }
Applies pluralization for English words based on the number
of items specified.
Applies pluralization for English words based on the number of items specified .
None
string
this
count
long
None
word
word to pluralize
word to pluralize