Card: MVP for card rendering from mock job

This commit is contained in:
2023-05-31 22:24:21 +02:00
parent 8faaccc520
commit c64fb73321
7 changed files with 131 additions and 64 deletions

37
template.json Normal file
View File

@@ -0,0 +1,37 @@
{
"remoteIdentifier": "AAAAA",
"callback": "undefined",
"type": "card",
"size": {
"width": 600,
"height": 1000
},
"elements": [
{
"type": "image",
"asset": "https://cdn.discordapp.com/attachments/1083687175998152714/1113486254953222205/rainbow_overlay.png",
"x": 0,
"y": 300,
"width": 600,
"height": 1000
},
{
"type": "image",
"asset": "https://cdn.discordapp.com/attachments/1083687175998152714/1113486177002070126/template.png",
"x": 0,
"y": 300,
"width": 600,
"height": 1000
},
{
"type": "text",
"text": "Ninomae Ina'nis",
"fontSize": 55,
"x": 0,
"y": 700,
"width": 600,
"height": 300,
"horizontalAlignment": "center"
}
]
}