Browse Source

Properly fix merging guides

ghorsington 6 years ago
parent
commit
b09b7f9528
1 changed files with 2 additions and 1 deletions
  1. 2 1
      commands/guide.js

+ 2 - 1
commands/guide.js

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