]> git.lizzy.rs Git - furrybot-discord.git/blobdiff - http.js
Implement operators
[furrybot-discord.git] / http.js
diff --git a/http.js b/http.js
index 40dd185aae1ced6f0899e28d276fd8e237ca5148..36f2555bf59134ec13817f426fcf2fe7355a8eb6 100644 (file)
--- a/http.js
+++ b/http.js
@@ -13,7 +13,7 @@ module.exports = {
        verse: {
                func: msg => fetch("https://labs.bible.org/api/?type=json&passage=random")
                        .then(res => res.json())
-                       .then(data => msg.reply(`${data[0].text} [${data[0].bookname} ${data[0].chapter}, ${data[0].verse}]`))
+                       .then(data => msg.reply(`${data[0].text}\n\t${data[0].bookname} ${data[0].chapter}, ${data[0].verse}`))
        },
        define: {
                func: (msg, term) => term.length > 0 ? fetch("https://api.dictionaryapi.dev/api/v1/entries/en_US/" + term.join(" "))