colortext

Privateunrated

Content

97 lines
{=(valids):`red`, `orange`, `yellow`, `green`, `cyan`, `blue`}
{=({args(1)}.t):error}

{=(red.t):red}
{=(red.c):#ff0000}
{=(red.d):```diff
- CONTENT
```
Language: `diff`
Start line with `-`

\`\`\`diff
- CONTENT
\`\`\`}

{=(orange.t):red-orange}
{=(orange.c):#ffa500}
{=(orange.d):```css
[CONTENT]
```
Language: `css`
Wrap text in `[ ]`

\`\`\`css
[CONTENT]
\`\`\`}

{=(yellow.t):yellow}
{=(yellow.c):#ffff00}
{=(yellow.d):```fix
CONTENT
```
Language: `fix`

\`\`\`fix
CONTENT
\`\`\`}

{=(green.t):green}
{=(green.c):#00ff00}
{=(green.d):**Method 1:**
```diff
+ CONTENT
```
Language: `diff`
Start line with `+`

\`\`\`diff
+ CONTENT
\`\`\`

**Method 2:**
```css
"CONTENT"
```
Language: `css`
Wrap text in `" "`

\`\`\`css
"CONTENT"
\`\`\`
}

{=(cyan.t):cyan}
{=(cyan.c):#00ffff}
{=(cyan.d):```bash
"CONTENT"
```
Language: `bash`
Wrap text in `" "`

\`\`\`bash
"CONTENT"
\`\`\`}

{=(blue.t):blue}
{=(blue.c):#0000ff}
{=(blue.d):```ini
[CONTENT]
```
Language: `ini`
Wrap text in `[ ]`

\`\`\`ini
[CONTENT]
\`\`\`}

{=(title):{{args(1)}.t}}
{=(text):{if(=={args(2+)}):Some text in {title}|{args(2+)}}}
{=(error):{if({title}==error):true|false}}
{=(desc):{replace(CONTENT,{text}):{{args(1)}.d}}}
{=(color):{{args(1)}.c}}
{embed(color):{if({error}==true):#000001|{color}}}
{=(finaltitle):{if({error}==true):⚠️ Error|How to get **{title}** text}}
{=(finaldescription):{if({error}==true):Invalid color, please choose one of: {valids}.

Usage: `!colortext <color> [optional text]`|{desc}}}

Embed

1 line
{"color": 5198940, "title": "{finaltitle}", "description": "{finaldescription}"}
Raw JSON
{
  "id": 535907,
  "created_at": "2021-01-15T05:43:52.000Z",
  "tag_name": "colortext",
  "nsfw": false,
  "owner_id": "708014375364984899",
  "uses": 36,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "708695829741043802",
  "sharer": "689781507249668219",
  "content": "{=(valids):`red`, `orange`, `yellow`, `green`, `cyan`, `blue`}\n{=({args(1)}.t):error}\n\n{=(red.t):red}\n{=(red.c):#ff0000}\n{=(red.d):```diff\n- CONTENT\n```\nLanguage: `diff`\nStart line with `-`\n\n\\`\\`\\`diff\n- CONTENT\n\\`\\`\\`}\n\n{=(orange.t):red-orange}\n{=(orange.c):#ffa500}\n{=(orange.d):```css\n[CONTENT]\n```\nLanguage: `css`\nWrap text in `[ ]`\n\n\\`\\`\\`css\n[CONTENT]\n\\`\\`\\`}\n\n{=(yellow.t):yellow}\n{=(yellow.c):#ffff00}\n{=(yellow.d):```fix\nCONTENT\n```\nLanguage: `fix`\n\n\\`\\`\\`fix\nCONTENT\n\\`\\`\\`}\n\n{=(green.t):green}\n{=(green.c):#00ff00}\n{=(green.d):**Method 1:**\n```diff\n+ CONTENT\n```\nLanguage: `diff`\nStart line with `+`\n\n\\`\\`\\`diff\n+ CONTENT\n\\`\\`\\`\n\n**Method 2:**\n```css\n\"CONTENT\"\n```\nLanguage: `css`\nWrap text in `\" \"`\n\n\\`\\`\\`css\n\"CONTENT\"\n\\`\\`\\`\n}\n\n{=(cyan.t):cyan}\n{=(cyan.c):#00ffff}\n{=(cyan.d):```bash\n\"CONTENT\"\n```\nLanguage: `bash`\nWrap text in `\" \"`\n\n\\`\\`\\`bash\n\"CONTENT\"\n\\`\\`\\`}\n\n{=(blue.t):blue}\n{=(blue.c):#0000ff}\n{=(blue.d):```ini\n[CONTENT]\n```\nLanguage: `ini`\nWrap text in `[ ]`\n\n\\`\\`\\`ini\n[CONTENT]\n\\`\\`\\`}\n\n{=(title):{{args(1)}.t}}\n{=(text):{if(=={args(2+)}):Some text in {title}|{args(2+)}}}\n{=(error):{if({title}==error):true|false}}\n{=(desc):{replace(CONTENT,{text}):{{args(1)}.d}}}\n{=(color):{{args(1)}.c}}\n{embed(color):{if({error}==true):#000001|{color}}}\n{=(finaltitle):{if({error}==true):⚠️ Error|How to get **{title}** text}}\n{=(finaldescription):{if({error}==true):Invalid color, please choose one of: {valids}.\n\nUsage: `!colortext <color> [optional text]`|{desc}}}",
  "embed": "{\"color\": 5198940, \"title\": \"{finaltitle}\", \"description\": \"{finaldescription}\"}",
  "last_fetched": "2026-10-20T23:48:38.473Z"
}