mirror of
https://github.com/syuilo/ai.git
synced 2024-12-22 08:21:08 +00:00
Fix bug
This commit is contained in:
parent
d6448fe2e0
commit
a64688a189
|
@ -46,7 +46,8 @@ class Session {
|
|||
}
|
||||
|
||||
private get userName(): string {
|
||||
return `?[${getUserName(this.user)}](${config.host}/@${this.user.username})${titles.some(x => this.user.username.endsWith(x)) ? '' : 'さん'}`;
|
||||
const name = getUserName(this.user);
|
||||
return `?[${name}](${config.host}/@${this.user.username})${titles.some(x => name.endsWith(x)) ? '' : 'さん'}`;
|
||||
}
|
||||
|
||||
private get strength(): number {
|
||||
|
|
Loading…
Reference in a new issue