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
81a6f88c85
commit
7deb41457a
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.user.name}'s Avatar")
|
embed.setTitle(":frame_photo: ${ev.target.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