mirror of
https://github.com/yuzu-emu/Command-fix.git
synced 2024-11-25 11:05:41 +01:00
Removed unused fields from game command.
This commit is contained in:
parent
79002c1bc5
commit
73202911d9
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user