Add URL links to IGDB on video game titles
This commit is contained in:
parent
3d8901f457
commit
a48c557771
@ -70,6 +70,7 @@ module.exports = {
|
||||
.setColor(0xFFD700)
|
||||
.setAuthor({ name: `${interaction.user.displayName} beat a new game!`, iconURL: interaction.user.avatarURL() })
|
||||
.setTitle(`${game.name} beaten!`)
|
||||
.setURL(game.url)
|
||||
.setFooter({ text: 'The Ochulus • 100 Games Challenge', iconURL: interaction.client.user.avatarURL() })
|
||||
.setTimestamp();
|
||||
|
||||
|
@ -38,6 +38,7 @@ module.exports = {
|
||||
.setColor(0xFF0000)
|
||||
.setAuthor({ name: `${interaction.user.displayName} deleted a game!`, iconURL: interaction.user.avatarURL() })
|
||||
.setTitle(`${game.name} deleted!`)
|
||||
.setURL(game.url)
|
||||
.setFooter({ text: 'The Ochulus • 100 Games Challenge', iconURL: interaction.client.user.avatarURL() })
|
||||
.setTimestamp();
|
||||
|
||||
|
@ -65,6 +65,7 @@ module.exports = {
|
||||
.setColor(0xFF0000)
|
||||
.setAuthor({ name: `${interaction.user.displayName} deleted a game!`, iconURL: interaction.user.avatarURL() })
|
||||
.setTitle(`${game.name} deleted!`)
|
||||
.setURL(game.url)
|
||||
.setFooter({ text: 'The Ochulus • 100 Games Challenge', iconURL: interaction.client.user.avatarURL() })
|
||||
.setTimestamp();
|
||||
|
||||
|
@ -38,6 +38,7 @@ module.exports = {
|
||||
.setColor(0xFF0000)
|
||||
.setAuthor({ name: `${interaction.user.displayName} deleted a game!`, iconURL: interaction.user.avatarURL() })
|
||||
.setTitle(`${game.name} deleted!`)
|
||||
.setURL(game.url)
|
||||
.setFooter({ text: 'The Ochulus • 100 Games Challenge', iconURL: interaction.client.user.avatarURL() })
|
||||
.setTimestamp();
|
||||
|
||||
|
@ -64,6 +64,7 @@ module.exports = {
|
||||
.setColor(0x43ABEC)
|
||||
.setAuthor({ name: `${interaction.user.displayName} is planning to beat a game!`, iconURL: interaction.user.avatarURL() })
|
||||
.setTitle(`${game.name}!`)
|
||||
.setURL(game.url)
|
||||
.setFooter({ text: 'The Ochulus • 100 Games Challenge', iconURL: interaction.client.user.avatarURL() })
|
||||
.setTimestamp();
|
||||
|
||||
|
@ -44,7 +44,7 @@ module.exports = {
|
||||
const coverUrl = await getCoverURL(game.cover);
|
||||
embed.setThumbnail(`${coverUrl}`);
|
||||
}
|
||||
desc = `It has chosen **${game.name}**, glory be to The Ochulus!`;
|
||||
desc = `It has chosen **[${game.name}](${game.url})**, glory be to The Ochulus!`;
|
||||
}
|
||||
|
||||
embed.setDescription(desc);
|
||||
|
@ -36,6 +36,7 @@ module.exports = {
|
||||
.setColor(0xFFD700)
|
||||
.setAuthor({ name: `${user.displayName}'s most recent beat game!`, iconURL: user.avatarURL() })
|
||||
.setTitle(game.name)
|
||||
.setURL(game.url)
|
||||
.setFooter({ text: 'The Ochulus • 100 Games Challenge', iconURL: interaction.client.user.avatarURL() })
|
||||
.setTimestamp();
|
||||
|
||||
|
@ -36,6 +36,7 @@ module.exports = {
|
||||
.setColor(0xFFD700)
|
||||
.setAuthor({ name: `${user.displayName}'s most recent planned game`, iconURL: user.avatarURL() })
|
||||
.setTitle(game.name)
|
||||
.setURL(game.url)
|
||||
.setFooter({ text: 'The Ochulus • 100 Games Challenge', iconURL: interaction.client.user.avatarURL() })
|
||||
.setTimestamp();
|
||||
|
||||
|
@ -36,6 +36,7 @@ module.exports = {
|
||||
.setColor(0xFFD700)
|
||||
.setAuthor({ name: `${user.displayName}'s most recent planned game`, iconURL: user.avatarURL() })
|
||||
.setTitle(game.name)
|
||||
.setURL(game.url)
|
||||
.setFooter({ text: 'The Ochulus • 100 Games Challenge', iconURL: interaction.client.user.avatarURL() })
|
||||
.setTimestamp();
|
||||
|
||||
|
@ -67,6 +67,7 @@ module.exports = {
|
||||
.setColor(0x00C921)
|
||||
.setAuthor({ name: `${interaction.user.displayName} has started playing a new game!`, iconURL: interaction.user.avatarURL() })
|
||||
.setTitle(`${game.name}!`)
|
||||
.setURL(game.url)
|
||||
.setFooter({ text: 'The Ochulus • 100 Games Challenge', iconURL: interaction.client.user.avatarURL() })
|
||||
.setTimestamp();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user