From e6894bc723ae18a5a2a3fa319631f25b5bb54b17 Mon Sep 17 00:00:00 2001
From: na2na-p <yamamoto.akyshi@gmail.com>
Date: Thu, 17 Feb 2022 16:03:23 +0900
Subject: [PATCH] =?UTF-8?q?=E3=81=86=E3=82=93=E3=81=93=E6=92=B2=E6=BB=85?=
 =?UTF-8?q?=E3=81=86=E3=82=93=E3=81=A1=E3=81=88=E3=82=89=E3=81=84=EF=BC=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/modules/emoji-react/index.ts | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/src/modules/emoji-react/index.ts b/src/modules/emoji-react/index.ts
index e716493..046d6c1 100644
--- a/src/modules/emoji-react/index.ts
+++ b/src/modules/emoji-react/index.ts
@@ -36,6 +36,15 @@ export default class extends Module {
 			});
 		};
 
+		// /う[〜|ー]*んこ/g]にマッチしたときの処理
+		if (note.text.match(/う[〜|ー]*んこ/g)) {
+			await react(':anataima_unkotte_iimashitane:', true);
+		}
+
+		if (note.text.match(/う[〜|ー]*んち/g)) {
+			await react(':erait:', true);
+		}
+
 		if (includes(note.text, ['いい']) && (includes(note.text, ["?"]) || includes(note.text, ["?"]))) {
             // 50%の確率で":dame:"または":yattare:"を返す
             if (Math.random() < 0.5) {