len

Privateunrated

Content

25 lines
{=(words):{index($&):{args} $&}}
{=(spargs):{replace(, ):{args}}}
{=(chars):{index($&):{spargs} $&}}
{=(spargs):{replace(, ):{args}}}
{=(charsi):{index($&):{spargs} $&}}

{=(Comment):Ignore this part. It was me trying to hardcode the number of spaces, while it can just be words-1.}
{=(spaelse):{replace( ,!%):{args}}}
{=(space):{m:trunc({index({spaelse(-1):!%}):{args}}+1)}}

{=(spaces):{m:trunc({words}-1)}}
{=(chars):{m:trunc({charsi}+{spaces})}}

{=(msg):Your message contains **{words}** words, **{charsi}** individual characters and **{chars}** total characters, including spaces.}

{=(title):Your message contains:}

{=(emsg):
**{words}** words
**{charsi}** individual characters
**{chars}** characters, including spaces
}
{=(footer):Character Counter Tag, by Asty'}

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

Embed

1 line
{"color": 5198940, "author": {"name": "{title}"}, "footer": {"text": "{footer}"}, "description": "{emsg}"}
Raw JSON
{
  "id": 880592,
  "created_at": "2021-06-10T09:45:06.000Z",
  "tag_name": "len",
  "nsfw": false,
  "owner_id": "694835810347909161",
  "uses": 0,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "833945979719122995",
  "sharer": "694835810347909161",
  "content": "{=(words):{index($&):{args} $&}}\n{=(spargs):{replace(, ):{args}}}\n{=(chars):{index($&):{spargs} $&}}\n{=(spargs):{replace(, ):{args}}}\n{=(charsi):{index($&):{spargs} $&}}\n\n{=(Comment):Ignore this part. It was me trying to hardcode the number of spaces, while it can just be words-1.}\n{=(spaelse):{replace( ,!%):{args}}}\n{=(space):{m:trunc({index({spaelse(-1):!%}):{args}}+1)}}\n\n{=(spaces):{m:trunc({words}-1)}}\n{=(chars):{m:trunc({charsi}+{spaces})}}\n\n{=(msg):Your message contains **{words}** words, **{charsi}** individual characters and **{chars}** total characters, including spaces.}\n\n{=(title):Your message contains:}\n\n{=(emsg):\n**{words}** words\n**{charsi}** individual characters\n**{chars}** characters, including spaces\n}\n{=(footer):Character Counter Tag, by Asty'}\n\n{embed(color):{user(color)}}",
  "embed": "{\"color\": 5198940, \"author\": {\"name\": \"{title}\"}, \"footer\": {\"text\": \"{footer}\"}, \"description\": \"{emsg}\"}",
  "last_fetched": "2026-10-20T16:44:42.838Z"
}