mirror of
https://github.com/syuilo/ai.git
synced 2024-11-24 22:01:07 +00:00
✌️
This commit is contained in:
parent
a0afbb8740
commit
05ada0d74e
|
@ -28,7 +28,9 @@ export default class KeywordModule implements IModule {
|
||||||
}
|
}
|
||||||
|
|
||||||
private say = async (msg?: MessageLike) => {
|
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);
|
const interestedNotes = tl.filter(note => note.userId !== this.ai.account.id && note.text != null);
|
||||||
|
|
||||||
|
|
|
@ -90,5 +90,5 @@ export default {
|
||||||
/**
|
/**
|
||||||
* キーワード
|
* キーワード
|
||||||
*/
|
*/
|
||||||
KEYWORD: '({word}... {reading}...)',
|
KEYWORD: '({word}..... {reading}..... 覚えました)',
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue