From 003043247c26303877af111ddc2119c6024d44e6 Mon Sep 17 00:00:00 2001
From: na2na <49822810+na2na-p@users.noreply.github.com>
Date: Tue, 14 Jun 2022 00:00:00 +0900
Subject: [PATCH] =?UTF-8?q?ping=E3=81=AE=E3=81=A8=E3=81=93=E3=82=8D?=
 =?UTF-8?q?=E3=81=84=E3=81=98=E3=81=A3=E3=81=9F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/modules/ping/index.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/ping/index.ts b/src/modules/ping/index.ts
index c3bf81c..4ce08c6 100644
--- a/src/modules/ping/index.ts
+++ b/src/modules/ping/index.ts
@@ -15,7 +15,7 @@ export default class extends Module {
 	@autobind
 	private async mentionHook(msg: Message) {
 		if (msg.text && (msg.text.includes('ping') || msg.text.includes('おい'))) {
-			if (msg.text.includes('おい')) {
+			if (msg.text.includes('おい') && this.ai.isMaster(msg.userId)) {
 				msg.reply('はい。。。', {
 					immediate: true
 				});