mirror of
https://github.com/devproje/px32-bot.git
synced 2024-11-26 10:43:05 +00:00
fix: avatar username fixed
This commit is contained in:
parent
1536bebf7a
commit
81a6f88c85
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue