diff --git a/px32-bot-func/src/main/kotlin/net/projecttl/p/x32/func/command/Avatar.kt b/px32-bot-func/src/main/kotlin/net/projecttl/p/x32/func/command/Avatar.kt index c7ecd60..2bbec3a 100644 --- a/px32-bot-func/src/main/kotlin/net/projecttl/p/x32/func/command/Avatar.kt +++ b/px32-bot-func/src/main/kotlin/net/projecttl/p/x32/func/command/Avatar.kt @@ -12,7 +12,7 @@ object Avatar : UserContext { override suspend fun execute(ev: UserContextInteractionEvent) { val embed = EmbedBuilder() - embed.setTitle(":frame_photo: ${ev.user.name}'s Avatar") + embed.setTitle(":frame_photo: ${ev.target.name}'s Avatar") embed.setImage("${ev.target.effectiveAvatarUrl}?size=512") embed.colour()