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