Update descriptions to match formatting in other commands
This commit is contained in:
parent
566b1b7745
commit
3d8901f457
@ -38,10 +38,13 @@ module.exports = {
|
|||||||
.setColor(0xFF0000)
|
.setColor(0xFF0000)
|
||||||
.setAuthor({ name: `${interaction.user.displayName} deleted a game!`, iconURL: interaction.user.avatarURL() })
|
.setAuthor({ name: `${interaction.user.displayName} deleted a game!`, iconURL: interaction.user.avatarURL() })
|
||||||
.setTitle(`${game.name} deleted!`)
|
.setTitle(`${game.name} deleted!`)
|
||||||
.setDescription(`${interaction.user.displayName} has ${planNum} game(s) planned, they are playing ${playNum} game(s), they have beaten ${beatNum} game(s), they have ${100 - beatNum} game(s) remaining.`)
|
|
||||||
.setFooter({ text: 'The Ochulus • 100 Games Challenge', iconURL: interaction.client.user.avatarURL() })
|
.setFooter({ text: 'The Ochulus • 100 Games Challenge', iconURL: interaction.client.user.avatarURL() })
|
||||||
.setTimestamp();
|
.setTimestamp();
|
||||||
|
|
||||||
|
embed.addFields({ name: 'Planned', value: `${planNum} game(s)`, inline: true });
|
||||||
|
embed.addFields({ name: 'Now Playing', value: `${playNum} game(s)`, inline: true });
|
||||||
|
embed.addFields({ name: 'Beaten', value: `${beatNum}/100 (${100 - beatNum} game(s) remaining)`, inline: true });
|
||||||
|
|
||||||
if (game.cover) {
|
if (game.cover) {
|
||||||
const coverUrl = await getCoverURL(game.cover);
|
const coverUrl = await getCoverURL(game.cover);
|
||||||
embed.setThumbnail(`${coverUrl}`);
|
embed.setThumbnail(`${coverUrl}`);
|
||||||
|
@ -65,10 +65,13 @@ module.exports = {
|
|||||||
.setColor(0xFF0000)
|
.setColor(0xFF0000)
|
||||||
.setAuthor({ name: `${interaction.user.displayName} deleted a game!`, iconURL: interaction.user.avatarURL() })
|
.setAuthor({ name: `${interaction.user.displayName} deleted a game!`, iconURL: interaction.user.avatarURL() })
|
||||||
.setTitle(`${game.name} deleted!`)
|
.setTitle(`${game.name} deleted!`)
|
||||||
.setDescription(`${interaction.user.displayName} has ${planNum} game(s) planned, they are playing ${playNum} game(s), they have beaten ${beatNum} game(s), they have ${100 - beatNum} game(s) remaining.`)
|
|
||||||
.setFooter({ text: 'The Ochulus • 100 Games Challenge', iconURL: interaction.client.user.avatarURL() })
|
.setFooter({ text: 'The Ochulus • 100 Games Challenge', iconURL: interaction.client.user.avatarURL() })
|
||||||
.setTimestamp();
|
.setTimestamp();
|
||||||
|
|
||||||
|
embed.addFields({ name: 'Planned', value: `${planNum} game(s)`, inline: true });
|
||||||
|
embed.addFields({ name: 'Now Playing', value: `${playNum} game(s)`, inline: true });
|
||||||
|
embed.addFields({ name: 'Beaten', value: `${beatNum}/100 (${100 - beatNum} game(s) remaining)`, inline: true });
|
||||||
|
|
||||||
if (game.cover) {
|
if (game.cover) {
|
||||||
const coverUrl = await getCoverURL(game.cover);
|
const coverUrl = await getCoverURL(game.cover);
|
||||||
embed.setThumbnail(`${coverUrl}`);
|
embed.setThumbnail(`${coverUrl}`);
|
||||||
|
@ -38,10 +38,13 @@ module.exports = {
|
|||||||
.setColor(0xFF0000)
|
.setColor(0xFF0000)
|
||||||
.setAuthor({ name: `${interaction.user.displayName} deleted a game!`, iconURL: interaction.user.avatarURL() })
|
.setAuthor({ name: `${interaction.user.displayName} deleted a game!`, iconURL: interaction.user.avatarURL() })
|
||||||
.setTitle(`${game.name} deleted!`)
|
.setTitle(`${game.name} deleted!`)
|
||||||
.setDescription(`${interaction.user.displayName} has ${planNum} game(s) planned, they are playing ${playNum} game(s), they have beaten ${beatNum} game(s), they have ${100 - beatNum} game(s) remaining.`)
|
|
||||||
.setFooter({ text: 'The Ochulus • 100 Games Challenge', iconURL: interaction.client.user.avatarURL() })
|
.setFooter({ text: 'The Ochulus • 100 Games Challenge', iconURL: interaction.client.user.avatarURL() })
|
||||||
.setTimestamp();
|
.setTimestamp();
|
||||||
|
|
||||||
|
embed.addFields({ name: 'Planned', value: `${planNum} game(s)`, inline: true });
|
||||||
|
embed.addFields({ name: 'Now Playing', value: `${playNum} game(s)`, inline: true });
|
||||||
|
embed.addFields({ name: 'Beaten', value: `${beatNum}/100 (${100 - beatNum} game(s) remaining)`, inline: true });
|
||||||
|
|
||||||
if (game.cover) {
|
if (game.cover) {
|
||||||
const coverUrl = await getCoverURL(game.cover);
|
const coverUrl = await getCoverURL(game.cover);
|
||||||
embed.setThumbnail(`${coverUrl}`);
|
embed.setThumbnail(`${coverUrl}`);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user