Resources
Embed Scripting
Create custom embeds and messages using scripting.
Scripting Basics
Kyro uses a scripting language for creating rich embeds and dynamic messages.
Creating Embeds
Use these tags to create embed components:
{embed}
{title: Welcome!}
{description: Thanks for joining our server}
{color: #14b8a6}
{thumbnail: {user.avatar}}
{footer: Member #{guild.count}}{embed}- Start an embed{title: text}- Embed title{description: text}- Embed description{color: hex}- Embed color{thumbnail: url}- Thumbnail image{image: url}- Large image{footer: text}- Footer text{author: name && icon && url}- Author field{field: name && value && inline}- Add a field
Variables
Use these variables in your scripts:
User Variables
{user}- Username{user.mention}- @mention{user.id}- User ID{user.avatar}- Avatar URL{user.created}- Account creation date{user.joined}- Server join date
Server Variables
{guild.name}- Server name{guild.icon}- Server icon URL{guild.count}- Member count{guild.boosts}- Boost count{guild.created}- Creation date
Conditionals
Use conditionals for dynamic content:
{if: {user.booster}}
Thanks for boosting!
{else}
Consider boosting our server!
{endif}