small update for bot output
This commit is contained in:
VinceC
2025-01-04 11:22:29 -06:00
parent 584fba7aa0
commit 93679f8828
2 changed files with 18 additions and 4 deletions

View File

@@ -211,8 +211,7 @@ class CommandHandler {
const basicEmbed = new EmbedBuilder()
.setTitle(`User: ${playerData.username || 'Unknown'}`)
.setDescription(playerData.profile?.bio || 'No bio available')
.setColor('#0099ff')
.setImage('https://www.vrbattles.gg/assets/images/Qubi/vrwearcubesatad.png');
.setColor('#0099ff');
// Add avatar if available
if (playerData.profile?.avatar) {
@@ -221,6 +220,14 @@ class CommandHandler {
);
}
// Add badge image if available
if (playerData.profile?.current_level_badge) {
const badgeImageUrl = this.playerService.getBadgeImageUrl(playerData.profile.current_level_badge);
basicEmbed.setImage(badgeImageUrl);
} else {
basicEmbed.setImage('https://www.vrbattles.gg/assets/images/Qubi/vrwearcubesatad.png');
}
// Add basic profile fields
const profileFields = [];
const profile = playerData.profile || {};