Update index.js
This commit is contained in:
4
index.js
4
index.js
@@ -97,11 +97,11 @@ client.on('interactionCreate', async interaction => {
|
|||||||
new ButtonBuilder()
|
new ButtonBuilder()
|
||||||
.setLabel('🔵 View Profile')
|
.setLabel('🔵 View Profile')
|
||||||
.setStyle(ButtonStyle.Link)
|
.setStyle(ButtonStyle.Link)
|
||||||
.setURL(`https://www.vrbattles.gg/users/${playerData.username}`),
|
.setURL(`https://www.vrbattles.gg/profile/${playerData.username}`),
|
||||||
new ButtonBuilder()
|
new ButtonBuilder()
|
||||||
.setLabel('🟡 Join Discord')
|
.setLabel('🟡 Join Discord')
|
||||||
.setStyle(ButtonStyle.Link)
|
.setStyle(ButtonStyle.Link)
|
||||||
.setURL('https://discord.gg/your-invite-code') // Replace with your Discord invite URL
|
.setURL('https://discord.gg/j3DKVATPGQ) // Replace with your Discord invite URL
|
||||||
);
|
);
|
||||||
|
|
||||||
await interaction.editReply({ embeds: [embed], components: [row] });
|
await interaction.editReply({ embeds: [embed], components: [row] });
|
||||||
|
|||||||
Reference in New Issue
Block a user