diff --git a/internal/exts/requests/requests.go b/internal/exts/requests/requests.go index 7977744..1392316 100644 --- a/internal/exts/requests/requests.go +++ b/internal/exts/requests/requests.go @@ -249,5 +249,5 @@ func listCommandFunc(ctx disgoman.Context, args []string) { )) } - _, _ = ctx.Send(fmt.Sprintf("There are currently %d open %s", len(requests), utils.PluralizeString("request", len(requests)))) + _, _ = ctx.Send(fmt.Sprintf("There %s currently %d open %s", utils.PluralizeString("is", len(requests)), len(requests), utils.PluralizeString("request", len(requests)))) } diff --git a/internal/utils/utils.go b/internal/utils/utils.go index 3b5d589..e5f0f43 100644 --- a/internal/utils/utils.go +++ b/internal/utils/utils.go @@ -17,5 +17,8 @@ func PluralizeString(s string, i int) string { if i == 1 { return s } + if s == "is" { + return "are" + } return s + "s" }