wordcounter
Privateunrated
Content
28 lines{delete}
{override}
{embed(color):#ffffff}
{=(pre):!}
{=(tag):wordcounter}
{=(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):{user(mention)}'s message contains **{words}** words, **{charsi}** individual characters and **{chars}** total characters, including spaces.}
{=(title):{user(nick)}'s Word Count}
{=(emsg):
**{words}** words
**{charsi}** individual characters
**{chars}** characters, including spaces
}
{=(footer):{pre}{tag} <Your Message>}Embed
1 line{"color": 5198940, "author": {"name": "{title}"}, "footer": {"text": "{footer}"}, "description": "{emsg}"}Raw JSON
{
"id": 1190795,
"created_at": "2021-12-12T23:37:00.000Z",
"tag_name": "wordcounter",
"nsfw": false,
"owner_id": "898051496229339186",
"uses": 7,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "905862480104919080",
"sharer": "898051496229339186",
"content": "{delete}\n{override}\n{embed(color):#ffffff}\n{=(pre):!}\n{=(tag):wordcounter}\n{=(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):{user(mention)}'s message contains **{words}** words, **{charsi}** individual characters and **{chars}** total characters, including spaces.}\n\n{=(title):{user(nick)}'s Word Count}\n\n{=(emsg):\n**{words}** words\n**{charsi}** individual characters\n**{chars}** characters, including spaces\n}\n{=(footer):{pre}{tag} <Your Message>}",
"embed": "{\"color\": 5198940, \"author\": {\"name\": \"{title}\"}, \"footer\": {\"text\": \"{footer}\"}, \"description\": \"{emsg}\"}",
"last_fetched": "2026-10-20T18:08:40.255Z"
}