1.4.1 Hotfix undefined plate in plate search

This commit is contained in:
SowinskiBraeden committed 2021-09-17 14:09:30 -07:00
1 parent b93309336f
commit 0cafbe220b
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -194,7 +194,7 @@ class Bot {
for (let i = 0; i < results.vehicles.length; i++) { for (let i = 0; i < results.vehicles.length; i++) {
let plateResult = new Discord.MessageEmbed() let plateResult = new Discord.MessageEmbed()
.setColor('#0099ff') .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') .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') .setAuthor('LPS Website Support', 'https://raw.githubusercontent.com/Linesmerrill/police-cad/master/lines-police-server.png', 'https://discord.gg/jgUW656v2t')
.setDescription('Plate Search Results') .setDescription('Plate Search Results')
+1 -1
View File
@@ -2,7 +2,7 @@
"defaultPrefix": "?", "defaultPrefix": "?",
"botID": "860298681047056434", "botID": "860298681047056434",
"mongoURI": "mongodb+srv://lps_bot:ktSkHml2BU9EIQ0a@heroku-police-cad-dev.j7aom.mongodb.net/heroku_8pc4g86l?retryWrites=true&w=majority", "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/", "socket": "https://police-cad-dev.herokuapp.com/",
"dbo": "heroku_8pc4g86l" "dbo": "heroku_8pc4g86l"
} }
+1 -1
View File
@@ -2,7 +2,7 @@
"defaultPrefix": "?", "defaultPrefix": "?",
"botID": "860298681047056434", "botID": "860298681047056434",
"mongoURI": "mongodb+srv://lps_bot:ktSkHml2BU9EIQ0a@heroku-police-cad-dev.j7aom.mongodb.net/heroku_8pc4g86l?retryWrites=true&w=majority", "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", "socket": "http://localhost:8080",
"dbo": "heroku_8pc4g86l" "dbo": "heroku_8pc4g86l"
} }