mirror of
https://github.com/jcreek/MupBot.git
synced 2026-07-12 18:33:44 +00:00
fix(*): Correct comment for ud command get request
This commit is contained in:
+1
-1
@@ -46,7 +46,7 @@ function commandUrbanDictionary(Discord, config, logger, message, command, args)
|
|||||||
else if (args[0] != "") {
|
else if (args[0] != "") {
|
||||||
var searchQuery = 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({
|
axios({
|
||||||
method: 'get',
|
method: 'get',
|
||||||
url: 'http://api.urbandictionary.com/v0/define',
|
url: 'http://api.urbandictionary.com/v0/define',
|
||||||
|
|||||||
Reference in New Issue
Block a user