From 539fc4090b5380a1c2b68090961bd40e486e05a5 Mon Sep 17 00:00:00 2001 From: hanshino Date: Sat, 10 Feb 2024 14:52:09 +0800 Subject: [PATCH 1/2] Update NumberController.js --- app/src/controller/application/NumberController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/controller/application/NumberController.js b/app/src/controller/application/NumberController.js index 8dee4e53..9499ea7d 100644 --- a/app/src/controller/application/NumberController.js +++ b/app/src/controller/application/NumberController.js @@ -15,7 +15,7 @@ exports.router = [ const optionMapping = { big: ["大"], small: ["小"], - double: ["兩顆"], + // double: ["兩顆"], triple: ["三顆"], }; From deb01a7043a7cc5a016105c538625fcc2c0aa3ff Mon Sep 17 00:00:00 2001 From: hanshino Date: Sat, 10 Feb 2024 14:52:50 +0800 Subject: [PATCH 2/2] Update app.js --- app/src/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/app.js b/app/src/app.js index c9f506bc..a03d66f0 100644 --- a/app/src/app.js +++ b/app/src/app.js @@ -161,7 +161,7 @@ async function OrderBased(context, { next }) { ...BullshitController.router, ...SubscribeController.router, ...ScratchCardController.router, - // ...NumberController.router, + ...NumberController.router, ...(type === "user" ? JobController.router : []), text(/^[/#.](使用說明|help)$/, welcome), text(/^[/#.]抽(\*(?\d+))?(\s*(?[\s\S]+))?$/, gacha.play),