From 8a68c6c8d518dd853d9b4c7a9c71657c78bf3e80 Mon Sep 17 00:00:00 2001 From: Olly Nicholass Date: Fri, 15 Jan 2021 12:23:26 +0000 Subject: [PATCH] fix(*): Correct comment for ud command get request --- commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands.js b/commands.js index 94c1072..bce54bd 100644 --- a/commands.js +++ b/commands.js @@ -46,7 +46,7 @@ function commandUrbanDictionary(Discord, config, logger, message, command, args) else if (args[0] != "") { var searchQuery = args[0]; - // Send a POST request to urban dictionary including the search query + // Send a GET request to urban dictionary including the search query axios({ method: 'get', url: 'http://api.urbandictionary.com/v0/define',