From f96a495ed5d8174ef2fec6328fbca6dca0d8da5c Mon Sep 17 00:00:00 2001 From: CodexAdrian <83074853+CodexAdrian@users.noreply.github.com> Date: Fri, 3 May 2024 23:22:14 -0400 Subject: [PATCH] Create embed.json.template --- templates/embed.json.template | 49 +++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 templates/embed.json.template diff --git a/templates/embed.json.template b/templates/embed.json.template new file mode 100644 index 00000000..3fb77a66 --- /dev/null +++ b/templates/embed.json.template @@ -0,0 +1,49 @@ +{ + "components": [ + { + "type": 1, + "components": [ + { + "type": 2, + "label": "Fabric", + "style": 5, + "url": "https://modrinth.com/mod/botarium/version/${fabric_link}" + }, + { + "type": 2, + "label": "NeoForge", + "style": 5, + "url": "https://modrinth.com/mod/botarium/version/${neoforge_link}" + } + ] + } + ], + "embeds": [ + { + "title": "Botarium", + "description": "**Changelog:**\\n${changelog}", + "color": 1856851, + "fields": [ + { + "name": "Minecraft Version", + "value": "${minecraft}", + "inline": true + }, + { + "name": "Mod Version", + "value": "${version}", + "inline": true + } + ], + "footer": { + "text": "Follow the project on Modrinth at mods.gay/botarium", + "icon_url": "https://i.imgur.com/3hVj8nM.png" + }, + "thumbnail": { + "url": "https://cdn.modrinth.com/data/2u6LRnMa/31d70002f565c2ae1b2901667f3fb9f553281594.png" + } + } + ], + "username": "Terrarium Releases", + "avatar_url": "http://images.teamresourceful.com/u/Wtw3pP.png" +} \ No newline at end of file