Update index.js
This commit is contained in:
2
index.js
2
index.js
@@ -107,7 +107,7 @@ client.on('interactionCreate', async interaction => {
|
||||
{ name: 'Current Level Badge', value: user.current_level_badge || 'None', inline: true },
|
||||
{ name: 'XP', value: user.xp.toString(), inline: true }
|
||||
)
|
||||
//.setImage(badgeImageUrl) // Directly set the image URL
|
||||
.iconURL('badgeImageUrl'); // Directly set the image URL
|
||||
.setColor('#0099ff');
|
||||
|
||||
if (user.avatar) {
|
||||
|
||||
Reference in New Issue
Block a user