リファクタリングなど

This commit is contained in:
syuilo
2019-01-16 02:10:42 +09:00
parent c32c871d4d
commit 09fc4291f0
5 changed files with 29 additions and 25 deletions

View File

@ -24,6 +24,8 @@ export default class KeywordModule extends Module {
@autobind
public install() {
if (!config.keywordEnabled) return {};
//#region Init DB
this.learnedKeywords = getCollection(this.ai.db, '_keyword_learnedKeywords', {
indices: ['userId']