This commit is contained in:
syuilo 2018-08-14 05:43:31 +09:00
parent a0afbb8740
commit 05ada0d74e
2 changed files with 4 additions and 2 deletions

View file

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

View file

@ -90,5 +90,5 @@ export default {
/**
*
*/
KEYWORD: '({word}... {reading}...)',
KEYWORD: '({word}..... {reading}..... 覚えました)',
};