diff --git a/plugins/Urban Dictionary/urban.js b/plugins/Urban Dictionary/urban.js index 59660ed..911bd82 100644 --- a/plugins/Urban Dictionary/urban.js +++ b/plugins/Urban Dictionary/urban.js @@ -15,7 +15,7 @@ exports.urban = { targetWord.first(function(json) { if (json) { console.log(JSON.stringify(json)); - messages = []; + let messages = []; const title = `Urban Dictionary: **${json.word}**`; let definition = "Definition: " + json.definition; let message = title + "\n\n" + definition;