|
|
@ -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 |
|
|
|