This commit is contained in:
syuilo 2018-09-02 10:47:20 +09:00
parent 5b59823edd
commit 5832a62ff4

View file

@ -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);