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 { try {
await state.gameDBPromise; await state.gameDBPromise;
} catch (e) { } catch (e) {
message.channel.send("Game compatibility feed temporarily unavailable - sorry!"); message.channel.send("Game compatibility feed temporarily unavailable.");
throw e; throw e;
} finally { } finally {
// We don't need this message anymore // We don't need this message anymore
@ -82,11 +82,9 @@ exports.command = async function (message) {
const embed = new discord.RichEmbed() const embed = new discord.RichEmbed()
.addField("Status", compat.name, true) .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) .setTitle(bestGame.title)
.setColor(compat.color) .setColor(compat.color)
.setDescription(bestGame.description) .setDescription(compat.description)
.setURL(url) .setURL(url)
.setThumbnail(screenshot); .setThumbnail(screenshot);