added base profile update

This commit is contained in:
DeSqBlocki
2026-08-22 20:13:47 +02:00
parent 1fd73538fa
commit 8aeab3fb5d
12 changed files with 969 additions and 6 deletions
+22
View File
@@ -0,0 +1,22 @@
const {
buildBadgesEmbed,
buildProfileButtons,
getProfileTargetId
} = require("../../utils/profileSystem");
module.exports = {
name: "profileBadges",
async execute(interaction) {
const userId = getProfileTargetId(interaction);
if (!userId) return;
const user = await interaction.client.users.fetch(userId);
const embed = await buildBadgesEmbed(interaction.guildId, user);
return interaction.update({
embeds: [embed],
components: buildProfileButtons()
});
}
};