소스 검색

Fix not iterating over memes and miscs

ghorsington 6 년 전
부모
커밋
3d382decdb
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      commands/guide.js

+ 1 - 0
commands/guide.js

@@ -138,6 +138,7 @@ const onDirectMention = (msg, content, actionsDone) => {
     let parts = content.trim().split(" ");
     let guide = db
         .get("guides")
+        .merge(db.get("memes"), db.get("miscs"))
         .map(g => Object.assign({
             parts: g.name.toLowerCase().split(" ")
         }, g))