mirror of
https://github.com/syuilo/ai.git
synced 2024-11-09 15:38:00 +00:00
commit
23163b5a99
|
@ -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