From 70ed8655a4fb436fd5aa680a4e4069b96b1c3eb3 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 2 Feb 2019 00:07:11 +0900 Subject: [PATCH] Refactor --- src/modules/keyword/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/keyword/index.ts b/src/modules/keyword/index.ts index ae44b99..a37277d 100644 --- a/src/modules/keyword/index.ts +++ b/src/modules/keyword/index.ts @@ -32,13 +32,13 @@ export default class extends Module { this.tokenizer = new MeCab(); this.tokenizer.command = config.mecab; - setInterval(this.say, 1000 * 60 * 60); + setInterval(this.learn, 1000 * 60 * 60); return {}; } @autobind - private async say() { + private async learn() { const tl = await this.ai.api('notes/local-timeline', { limit: 30 });