logs-content: Changed possessive prefix to be based on shortName, not nick's prefix. E.g. Linda_Vasquez => Linda's, not Linda'
This commit is contained in:
@@ -56,10 +56,8 @@ module.exports = class {
|
||||
this.state.name = character.name
|
||||
this.state.shortName = character.shortName
|
||||
|
||||
if (input.post.nick.endsWith("'s")) {
|
||||
this.state.nameSuffix = "'s"
|
||||
} else if (input.post.nick.endsWith("'")) {
|
||||
this.state.nameSuffix = "'"
|
||||
if (input.post.nick.endsWith("'s") || input.post.nick.endsWith("'")) {
|
||||
this.state.nameSuffix = (character.shortName.endsWith("s") || character.shortName.endsWith("z")) ? "'" : "'s"
|
||||
}
|
||||
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user