mirror of
https://github.com/jcreek/MupBot.git
synced 2026-07-12 18:33:44 +00:00
fix(*): Update syntax of ud command to use const
This commit is contained in:
+1
-1
@@ -44,7 +44,7 @@ function commandUrbanDictionary(Discord, config, logger, message, command, args)
|
||||
return message.channel.send(`You didn't provide any arguments, ${message.author}!\nCorrect Usage: \`${config.prefix}ud <query>\``);
|
||||
}
|
||||
else if (args[0] != "") {
|
||||
var searchQuery = args[0];
|
||||
const searchQuery = args[0];
|
||||
|
||||
// Send a GET request to urban dictionary including the search query
|
||||
axios({
|
||||
|
||||
Reference in New Issue
Block a user