fix: avatar username fixed

This commit is contained in:
Project_IO 2024-09-21 23:15:08 +09:00
parent 1536bebf7a
commit 81a6f88c85

View file

@ -12,7 +12,7 @@ object Avatar : UserContext {
override suspend fun execute(ev: UserContextInteractionEvent) { override suspend fun execute(ev: UserContextInteractionEvent) {
val embed = EmbedBuilder() val embed = EmbedBuilder()
embed.setTitle(":frame_photo: ${ev.name} Avatar") embed.setTitle(":frame_photo: ${ev.user.name}'s Avatar")
embed.setImage("${ev.target.effectiveAvatarUrl}?size=512") embed.setImage("${ev.target.effectiveAvatarUrl}?size=512")
embed.colour() embed.colour()