mirror of
https://github.com/nullnyat/NullcatChan.git
synced 2025-08-04 17:23:51 +09:00
Improve AI
This commit is contained in:
@ -13,5 +13,8 @@ function cleanup(text: string): string {
|
||||
return text.trim()
|
||||
.replace(/[!!]+$/, '')
|
||||
.replace(/。$/, '')
|
||||
.replace(/(です|デス)$/, '');
|
||||
.replace(/デス$/, '')
|
||||
.replace(/^藍/, '')
|
||||
.replace(/^チャン/, '')
|
||||
.replace(/、+$/, '');
|
||||
}
|
||||
|
Reference in New Issue
Block a user