contar

Privateunrated

Content

7 lines
{embed(color):{user(color)}}

{=(caracteres):{replace(, ):{args}}}
{=(espaço):{m:trunc({index(^&):{args} ^&}-1)}}
{=(contar):{index(^&):{caracteres} ^&}}
{=(total):{m:trunc({espaço}+{contar})}}
{=(mensagem):{if({total}<=150):A mensagem ficou com **{total}/150** caracteres.|A mensagem ficou com **{total}/150** caracteres, ficando com **{m:trunc({total}-150)}** caracteres acima do permitido.}}

Embed

1 line
{"color": 5198940, "title": "Contador de Caracteres", "description": "{mensagem}"}
Raw JSON
{
  "id": 302864,
  "created_at": "2022-04-26T10:37:28.792Z",
  "tag_name": "contar",
  "nsfw": false,
  "owner_id": "489099600460775424",
  "uses": 23,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "556534213734563840",
  "sharer": "489099600460775424",
  "content": "{embed(color):{user(color)}}\n\n{=(caracteres):{replace(, ):{args}}}\n{=(espaço):{m:trunc({index(^&):{args} ^&}-1)}}\n{=(contar):{index(^&):{caracteres} ^&}}\n{=(total):{m:trunc({espaço}+{contar})}}\n{=(mensagem):{if({total}<=150):A mensagem ficou com **{total}/150** caracteres.|A mensagem ficou com **{total}/150** caracteres, ficando com **{m:trunc({total}-150)}** caracteres acima do permitido.}}",
  "embed": "{\"color\": 5198940, \"title\": \"Contador de Caracteres\", \"description\": \"{mensagem}\"}",
  "last_fetched": "2026-10-20T22:18:49.002Z"
}