From e77a05f8ba504ff7e98a19fcc308ee1e6917674c Mon Sep 17 00:00:00 2001 From: Shiva953 Date: Wed, 26 Apr 2023 16:48:23 +0530 Subject: [PATCH] fixed urban dictionary command --- plugins/Urban Dictionary/urban.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;