added command to show the avatar of member

This commit is contained in:
Sheldan
2020-05-27 15:29:23 +02:00
parent de4eeeacca
commit feb92698ef
12 changed files with 105 additions and 2 deletions

View File

@@ -0,0 +1,24 @@
{
"author": {
"name": "${memberInfo.user.name}#${memberInfo.user.discriminator}",
"avatar": "${memberInfo.user.effectiveAvatarUrl}"
},
"color" : {
"r": 200,
"g": 0,
"b": 255
},
"imageUrl": "${memberInfo.user.effectiveAvatarUrl}",
"fields": [
{
"name": "<#include "showAvatar_response_embed_user_field_title">",
"value": "${memberInfo.user.name}#${memberInfo.user.discriminator}",
"inline": "true"
},
{
"name": "<#include "showAvatar_response_embed_image_field_title">",
"value": "[<#include "showAvatar_response_embed_image_field_value_display">](${memberInfo.user.effectiveAvatarUrl})",
"inline": "true"
}
]
}