Ver código fonte

Fix not iterating over memes and miscs

ghorsington 6 anos atrás
pai
commit
3d382decdb
1 arquivos alterados com 1 adições e 0 exclusões
  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))