From 05ada0d74e05cb5e50fd74f79f2362c471891cb0 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 14 Aug 2018 05:43:31 +0900 Subject: [PATCH] :v: --- src/modules/keyword/index.ts | 4 +++- src/serifs.ts | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/modules/keyword/index.ts b/src/modules/keyword/index.ts index 334533b..b9305e7 100644 --- a/src/modules/keyword/index.ts +++ b/src/modules/keyword/index.ts @@ -28,7 +28,9 @@ export default class KeywordModule implements IModule { } private say = async (msg?: MessageLike) => { - const tl = await this.ai.api('notes/local-timeline'); + const tl = await this.ai.api('notes/local-timeline', { + limit: 30 + }); const interestedNotes = tl.filter(note => note.userId !== this.ai.account.id && note.text != null); diff --git a/src/serifs.ts b/src/serifs.ts index ca5639c..0d27901 100644 --- a/src/serifs.ts +++ b/src/serifs.ts @@ -90,5 +90,5 @@ export default { /** * キーワード */ - KEYWORD: '({word}... {reading}...)', + KEYWORD: '({word}..... {reading}..... 覚えました)', };