Removed unused fields from game command.

This commit is contained in:
chris062689@gmail.com 2019-01-21 22:31:26 -05:00
parent 79002c1bc5
commit 73202911d9

View File

@ -48,7 +48,7 @@ exports.command = async function (message) {
try {
await state.gameDBPromise;
} catch (e) {
message.channel.send("Game compatibility feed temporarily unavailable - sorry!");
message.channel.send("Game compatibility feed temporarily unavailable.");
throw e;
} finally {
// We don't need this message anymore
@ -82,11 +82,9 @@ exports.command = async function (message) {
const embed = new discord.RichEmbed()
.addField("Status", compat.name, true)
.addField("Needs System Files", bestGame.needs_system_files ? "Yes" : "No", true)
.addField("Needs Shared Font", bestGame.needs_shared_font ? "Yes" : "No", true)
.setTitle(bestGame.title)
.setColor(compat.color)
.setDescription(bestGame.description)
.setDescription(compat.description)
.setURL(url)
.setThumbnail(screenshot);