CW付きの投稿からは学習しないように

This commit is contained in:
syuilo 2019-02-02 00:08:08 +09:00
parent 70ed8655a4
commit 643f3a3d58
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69

View file

@ -43,7 +43,10 @@ export default class extends Module {
limit: 30
});
const interestedNotes = tl.filter(note => note.userId !== this.ai.account.id && note.text != null);
const interestedNotes = tl.filter(note =>
note.userId !== this.ai.account.id &&
note.text != null &&
note.cw == null);
let keywords: string[][] = [];