Right now, the following happens when a user of the bot adds a name.
name add Klas Klasson
Result: klas klasson is added.
Desired result: Klas Klasson is added.
name add kLaS kLaSsOn
Result: klas klasson added.
Desired result: Klas Klasson is added.
Should match what the readme says. - the first letter of each word should be capitalized. Not at the data layer, but at the discord response layer - should capitalize before we send to the insert function. The data layer should still just insert whatever is given. This will have the bonus effect of not requiring review of database operation unit tests - they expect the name they submit to be the name that is inserted.
This is probably a one-liner, I think I remember there being a capitalization-of-first-letter-of-each-word method for strings.
Right now, the following happens when a user of the bot adds a name.
Should match what the readme says. - the first letter of each word should be capitalized. Not at the data layer, but at the discord response layer - should capitalize before we send to the insert function. The data layer should still just insert whatever is given. This will have the bonus effect of not requiring review of database operation unit tests - they expect the name they submit to be the name that is inserted.
This is probably a one-liner, I think I remember there being a capitalization-of-first-letter-of-each-word method for strings.