mirror of
https://github.com/nullnyat/NullcatChan.git
synced 2025-04-29 05:27:18 +09:00
Fix bug
This commit is contained in:
parent
5b59823edd
commit
5832a62ff4
@ -132,7 +132,7 @@ export default class CoreModule implements IModule {
|
||||
//#endregion
|
||||
};
|
||||
|
||||
const tension = (msg.text.match(/[!!]{2,}/g) || [])
|
||||
const tension = (msg.text.match(/[!!]{2,}/g) || [''])
|
||||
.sort((a, b) => a.length < b.length ? 1 : -1)[0]
|
||||
.substr(1);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user