Configure style & format
You can fully customize the style and formats of the translation, here is how!
1. Configure Style
There is actually 3 styles available: TEXT
, EMBED
, WEBHOOK
.
(Yes, these languages don't have the same source because these screens come from different times)
How to change the style of my Auto-Translate configuration?
Just run the command: /autotranslate config style
2. Configure Format
Now that you've chosen your style, you'll probably want to change the format of that style - here's how!
Just run the command: /autotranslate config format
You will then be redirected to a Modal where you can configure the translation format in detail! Brilliant, isn't it?
We're going to set up an Auto-Translate with the EMBED style as a tutorial.
Now that you understand how styles and formats work, you need to use variables in your formats. Variables allow you to insert text dynamically into your formats in order to configure your messages as much as possible.
Variables you can use everywhere in formats
Variable | Description |
---|---|
{source_language} | Source language of the translation. |
{language} | Target language of the translation. |
{translation} | Translated text. |
{billed} | Cost of the translation (in billing). |
{original_message} | Content of the original message. |
{source_channel} | Mention of the source channel. |
{source_channel_name} | Name of the source channel. |
{user} | Mention of the message author. |
{user_name} | Effective name of the message author. |
{user_avatar} | URL of the message author's avatar. |
{member} | Mention of the server member (if available). |
{member_name} | Effective name of the server member (if available). |
{member_avatar} | URL of the server member's avatar (if available). |
{guild_member_count} | Total number of members in the server. |
{guild_boost_count} | Number of server boosts. |
{guild_boost_tier} | Server boost level. |
{guild_icon} | URL of the server icon. |
{guild_banner} | URL of the server banner. |
{guild_channel_count} | Total number of channels in the server. |
{guild_role_count} | Total number of roles in the server. |
{guild_owner} | Mention of the server owner (if available). |
Could a missing variable be useful? Don't hesitate to ask us to add it to our Discord Support!
Last updated