mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 12:13:48 +01:00
Merge pull request '[PR]: enhance: Implement speak-as-cat for Chinese and Greek' (#10449) from sinofp/calckey:miao into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10449
This commit is contained in:
commit
278181d63e
@ -20,5 +20,9 @@ export function nyaize(text: string): string {
|
||||
)
|
||||
.replace(/(다$)|(다(?=\.))|(다(?= ))|(다(?=!))|(다(?=\?))/gm, "다냥")
|
||||
.replace(/(야(?=\?))|(야$)|(야(?= ))/gm, "냥")
|
||||
// Chinese
|
||||
.replace(/(妙|庙|描|渺|瞄|秒|苗|藐|廟)/g, "喵")
|
||||
// Greek
|
||||
.replaceAll("να", "νια")
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user