Commit b8f2d488 authored by nanahira's avatar nanahira

fix

parent 68ea9af9
Pipeline #3180 passed with stages
in 1 minute and 37 seconds
{
"name": "koishi-plugin-hisoutensoku-jammer",
"version": "1.1.2",
"version": "1.1.3",
"description": "A Koishi Plugin jamming hisoutensoku plays in group.",
"main": "dist/index.js",
"dependencies": {
......
......@@ -64,7 +64,7 @@ class HisoutensokuJammer {
async handleMessage(message: string) {
const messageMatch: RegExpMatchArray = message.trim().match(
/([1-2]? ?\d? ?\d ?)(([^\d][1-2]?\d{1,2}){3})[^\d]+?([1-6] ?\d ?\d ?\d ?\d)/
/([1-2]? ?\d? ?\d ?)(([^\d][1-2]?\d{1,2}){3})[^\d]+?([1-6] ?\d ?\d ?\d ?\d)/g
);
if (!messageMatch) {
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment