shell

Cloud command made by _Leg3ndary

Sharedunrated

Content

42 lines
{=(Comment): Tag by _Leg3ndary :D Nothing should be edited in this tag... other then the variables below...}

{embed(color):{user(color)}}
{=(prefix):?}
{=(command_name):shell}

{=(Comment): Don't touch anything below}

{=():}

{=(len_args):{index(■):{args} ■}}
{=(type):{lower:{args(1)}}}

{=({type}):/error}
{=(dev/show):dev/show}
{=(cache):dev/cache}
{=(show):show/{if(latest=={lower:{2}}):0|{args(2)}}/{unix}}
{=(add):add/{if(=={2}):Blank|{args(2)}}/{unix}}

{{if(/error=={{type}}):embed(title):Error}}
{{if(/error=={{type}}):embed(description):Subcommand {if(=={args(1)}):__`Blank`__|`{lower:{args(1)}}`} not found...
Available options are:
```asciidoc
= {prefix}{command_name} add <Word> =
[ Your word must be less then or 10 characters ]
= {prefix}{command_name} show <Index> =
[ View already posted words, must be a number eg. view the 7th word added with the add command ]
[ USE 0 OR LATEST TO VIEW LATEST POST THIS MIGHT NOT WORK THOUGH ]
= {prefix}{command_name} cache =
[ Shows the Cache which you can use to view words with the show command ]
```}}

{{if(dev/cache=={{type}}):embed(title):Cache}}
{{if(dev/cache=={{type}}):embed(description):This link shows the cache which will be formatted like so:
```
{"1":"Carl-bot","2":"Hello"}
```
[__`Cache`__](https://leg3ndarytagscript.tenshibot.repl.co/dev/cache)}}

{=(endpoint):{if(/error!={{type}}):{{type}}}}

{=(api_endpoint):https://leg3ndarytagscript.tenshibot.repl.co/{endpoint}}

Embed

1 line
{"color": 5198940, "image": {"url": "{api_endpoint}"}}
Raw JSON
{
  "id": 856897,
  "created_at": "2021-05-30T02:04:19.000Z",
  "tag_name": "shell",
  "nsfw": false,
  "owner_id": "360061101477724170",
  "uses": 67,
  "description": "Cloud command made by _Leg3ndary",
  "restricted": false,
  "shared": true,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "787106686535860244",
  "sharer": "360061101477724170",
  "content": "{=(Comment): Tag by _Leg3ndary :D Nothing should be edited in this tag... other then the variables below...}\n\n{embed(color):{user(color)}}\n{=(prefix):?}\n{=(command_name):shell}\n\n{=(Comment): Don't touch anything below}\n\n{=():}\n\n{=(len_args):{index(■):{args} ■}}\n{=(type):{lower:{args(1)}}}\n\n{=({type}):/error}\n{=(dev/show):dev/show}\n{=(cache):dev/cache}\n{=(show):show/{if(latest=={lower:{2}}):0|{args(2)}}/{unix}}\n{=(add):add/{if(=={2}):Blank|{args(2)}}/{unix}}\n\n{{if(/error=={{type}}):embed(title):Error}}\n{{if(/error=={{type}}):embed(description):Subcommand {if(=={args(1)}):__`Blank`__|`{lower:{args(1)}}`} not found...\nAvailable options are:\n```asciidoc\n= {prefix}{command_name} add <Word> =\n[ Your word must be less then or 10 characters ]\n= {prefix}{command_name} show <Index> =\n[ View already posted words, must be a number eg. view the 7th word added with the add command ]\n[ USE 0 OR LATEST TO VIEW LATEST POST THIS MIGHT NOT WORK THOUGH ]\n= {prefix}{command_name} cache =\n[ Shows the Cache which you can use to view words with the show command ]\n```}}\n\n{{if(dev/cache=={{type}}):embed(title):Cache}}\n{{if(dev/cache=={{type}}):embed(description):This link shows the cache which will be formatted like so:\n```\n{\"1\":\"Carl-bot\",\"2\":\"Hello\"}\n```\n[__`Cache`__](https://leg3ndarytagscript.tenshibot.repl.co/dev/cache)}}\n\n{=(endpoint):{if(/error!={{type}}):{{type}}}}\n\n{=(api_endpoint):https://leg3ndarytagscript.tenshibot.repl.co/{endpoint}}",
  "embed": "{\"color\": 5198940, \"image\": {\"url\": \"{api_endpoint}\"}}",
  "last_fetched": "2026-10-20T16:36:25.597Z"
}