Capitalize the pronoun "I"

This commit is contained in:
Zorchenhimer 2021-02-21 20:04:05 -05:00
parent 4298ee1e67
commit de79b26f57
Signed by: Zorchenhimer
GPG Key ID: 70A1AB767AAB9C20
1 changed files with 3 additions and 0 deletions

View File

@ -464,6 +464,9 @@ func (g *english) randomPronoun(plural bool) (string, error) {
return "", fmt.Errorf("[pronoun] ID: %d; %v", ids[rid], err)
}
if pronoun.Word == "i" {
return strings.ToUpper(pronoun.Word), nil
}
return pronoun.Word, nil
}