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