fix: avatar username fixed

This commit is contained in:
Project_IO 2024-09-21 23:15:39 +09:00
parent 81a6f88c85
commit 7deb41457a

View file

@ -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()