From a8926f927f371af9b5f4f80599bc381df4f837f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=CC=B7O=CC=B7N=CC=B7D=CC=B7O=CC=B7N=CC=B7=E5=B0=91?= =?UTF-8?q?=E6=9E=97?= <22037550+Shivawkes@users.noreply.github.com> Date: Tue, 21 Jan 2025 11:31:06 -0500 Subject: [PATCH] index.ts --- src/modules/maze/index.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/modules/maze/index.ts b/src/modules/maze/index.ts index 40f67ae..ec14089 100644 --- a/src/modules/maze/index.ts +++ b/src/modules/maze/index.ts @@ -57,13 +57,13 @@ export default class extends Module { @bindThis private async mentionHook(msg: Message) { - if (msg.includes(['迷路'])) { + if (msg.includes(['maze'])) { let size: string | null = null; - if (msg.includes(['接待'])) size = 'veryEasy'; - if (msg.includes(['簡単', 'かんたん', '易しい', 'やさしい', '小さい', 'ちいさい'])) size = 'easy'; - if (msg.includes(['難しい', 'むずかしい', '複雑な', '大きい', 'おおきい'])) size = 'hard'; - if (msg.includes(['死', '鬼', '地獄'])) size = 'veryHard'; - if (msg.includes(['藍']) && msg.includes(['本気'])) size = 'ai'; + if (msg.includes(['Entertainment'])) size = 'veryEasy'; + if (msg.includes(['easy', 'easy', '易しい', 'やさしい', '小さい', 'ちいさい'])) size = 'easy'; + if (msg.includes(['hard', 'difficult', '複雑な', '大きい', 'おおきい'])) size = 'hard'; + if (msg.includes(['very hard', 'extreme', '地獄'])) size = 'veryHard'; + if (msg.includes(['Indigo']) && msg.includes(['Serious'])) size = 'ai'; this.log('Maze requested'); setTimeout(async () => { const file = await this.genMazeFile(Date.now(), size);