Skip to content

Discord Profile


The discord porile element can be used to directly paste someone’s profile picture on your card by using their user id.

ParameterDescription
idID Parameter that will be used in error messages
typeElement type. In this case it’s “discord_profile”
user_idThe target user. Must be a discord user id
transparencyTransparency of the user profile image. Needs to be a number between 1 and 100. 100 being not transparent and 0 being fully transparent.
layerLayer of the discord profile. Can be any number but is useful to control which profile goes on top of which element.
border_radiusUsed to round the image. Needs to be a number between 1 and 100. 100 being fully round.
positionContains “x” and “y”. Used to specify the position of the discord profile.
sizeContains “width” and “height”. Used to specify the size of the discord profile.
{
"id": "43",
"type": "discord_profile",
"user_id": "820655401518235669",
"transparency": "100",
"layer": "1",
"border_radius": "100",
"position": {
"x": 7.5,
"y": 3
},
"size": {
"width": "auto",
"height": 24
}
}