From 2bd8b629ff3389df28db4df076d9ab390e406593 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 23 Jan 2019 22:19:21 +0900 Subject: [PATCH] Add some log --- src/modules/kazutori/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules/kazutori/index.ts b/src/modules/kazutori/index.ts index 79a7426..747fe23 100644 --- a/src/modules/kazutori/index.ts +++ b/src/modules/kazutori/index.ts @@ -69,6 +69,8 @@ export default class extends Module { this.subscribeReply(null, false, post.id); + this.log('New kazutori game started'); + return true; } @@ -129,6 +131,8 @@ export default class extends Module { game.isEnded = true; this.games.update(game); + this.log('Kazutori game finished'); + // お流れ if (game.votes.length <= 1) { this.ai.post({