diff --git a/LPS.js b/LPS.js index 4da67cd..3dd625f 100644 --- a/LPS.js +++ b/LPS.js @@ -194,7 +194,7 @@ class Bot { for (let i = 0; i < results.vehicles.length; i++) { let plateResult = new Discord.MessageEmbed() .setColor('#0099ff') - .setTitle(`**${results.vehicles[i].plate} | ${results.vehicles[i]._id}**`) + .setTitle(`**${results.vehicles[i].vehicle.plate} | ${results.vehicles[i]._id}**`) .setURL('https://discord.gg/jgUW656v2t') .setAuthor('LPS Website Support', 'https://raw.githubusercontent.com/Linesmerrill/police-cad/master/lines-police-server.png', 'https://discord.gg/jgUW656v2t') .setDescription('Plate Search Results') diff --git a/config.json b/config.json index 1a4fb5e..813c6d3 100644 --- a/config.json +++ b/config.json @@ -2,7 +2,7 @@ "defaultPrefix": "?", "botID": "860298681047056434", "mongoURI": "mongodb+srv://lps_bot:ktSkHml2BU9EIQ0a@heroku-police-cad-dev.j7aom.mongodb.net/heroku_8pc4g86l?retryWrites=true&w=majority", - "version": "Beta 1.4.0", + "version": "Beta 1.4.1", "socket": "https://police-cad-dev.herokuapp.com/", "dbo": "heroku_8pc4g86l" } \ No newline at end of file diff --git a/dev-config.json b/dev-config.json index 81699dd..984f8d8 100644 --- a/dev-config.json +++ b/dev-config.json @@ -2,7 +2,7 @@ "defaultPrefix": "?", "botID": "860298681047056434", "mongoURI": "mongodb+srv://lps_bot:ktSkHml2BU9EIQ0a@heroku-police-cad-dev.j7aom.mongodb.net/heroku_8pc4g86l?retryWrites=true&w=majority", - "version": "Beta 1.4.0", + "version": "Beta 1.4.1", "socket": "http://localhost:8080", "dbo": "heroku_8pc4g86l" } \ No newline at end of file