away

Privateunrated

Content

64 lines
{=(COMMENT):Customize your prefix and tagname in the variables directly below}
{=(pre):!}
{=(tag):away}

{=(COMMENT):OPTIONAL: Add require blocks here}

{=(COMMENT):Code begins here}
{embed(timestamp):now}
{embed(color):#c400ff}
{override}
{delete}

{=(COMMENT):Embed variables}
{=(title):**{user(nick)}**}
{=(name):✷ {pre}{tag} ✷}
{=(thumbnail):https://s4.gifyu.com/images/envelope.gif}
{=(coms):{pre}{tag} (on|off|add|del|list|test)}
{=(footer):{server(name)}  •  {coms}  •  [{uses}x] }
{=(footericon):{server(icon)}}

{=(COMMENT):Subcommands}
{=(L1):{lower:{args(1)}}}
{=(on):{target(id)}}
{=(off):clear}
{=(del):remove {args(2+)}}
{=(test):matches {args(2+)}}
{=(add):add {args(2+)}}
{=(list):list}

{=(COMMENT):Menu response variables}
{=(note):**```asciidoc
= The {tag} command DMs the user their chat mentions and anything else they specify.
= Notifications will not be sent if the user has posted within the last 5 minutes.
```**
**__RECEIVE MENTIONS:__** `{pre}{tag} on` (@user)
**__CLEAR LIST & TURN OFF:__** `{pre}{tag} off`
**__ADD ITEM:__** `{pre}{tag} add` <word or phrase>
**__DELETE ITEM:__** `{pre}{tag} del` <word or phrase>
**__LIST ACTIVE ITEMS:__** `{pre}{tag} list`
**__TEST LIST:__** `{pre}{tag} test` <provide a test sentence>}
{=(offnote):**```diff
- Your list has been cleared and {pre}{tag} has been deactivated.
```**}
{=(onnote):**```asciidoc
= To deactivate type:
{pre}{tag} off
```**}
{=(addnote):**```asciidoc
= To deactivate type:
{pre}{tag} off
```**}
{=(listnote):**```asciidoc
= To view the main menu type:
{pre}{tag}
```**}
{=(delnote):**```asciidoc
= To view the main menu type:
{pre}{tag}
```**}

{=(COMMENT):Conditional command block and defining output variables}
{=(false):{test}}
{c:hl {if({contains({L1}):on off add del list test}==true):{{L1}}|{false}}}
{=(desc):{if({contains({L1}):on off add list del}==true):{{L1}note}|{note}}}

Embed

1 line
{"color": 5198940, "title": "{title}", "author": {"name": "{name}"}, "footer": {"text": "{footer}", "icon_url": "{footericon}"}, "thumbnail": {"url": "{thumbnail}"}, "description": "{desc}"}
Raw JSON
{
  "id": 640296,
  "created_at": "2021-02-28T03:30:24.000Z",
  "tag_name": "away",
  "nsfw": false,
  "owner_id": "778231270748323850",
  "uses": 4,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "804541198113964073",
  "sharer": "778231270748323850",
  "content": "{=(COMMENT):Customize your prefix and tagname in the variables directly below}\n{=(pre):!}\n{=(tag):away}\n\n{=(COMMENT):OPTIONAL: Add require blocks here}\n\n{=(COMMENT):Code begins here}\n{embed(timestamp):now}\n{embed(color):#c400ff}\n{override}\n{delete}\n\n{=(COMMENT):Embed variables}\n{=(title):**{user(nick)}**}\n{=(name):✷ {pre}{tag} ✷}\n{=(thumbnail):https://s4.gifyu.com/images/envelope.gif}\n{=(coms):{pre}{tag} (on|off|add|del|list|test)}\n{=(footer):{server(name)}  •  {coms}  •  [{uses}x] }\n{=(footericon):{server(icon)}}\n\n{=(COMMENT):Subcommands}\n{=(L1):{lower:{args(1)}}}\n{=(on):{target(id)}}\n{=(off):clear}\n{=(del):remove {args(2+)}}\n{=(test):matches {args(2+)}}\n{=(add):add {args(2+)}}\n{=(list):list}\n\n{=(COMMENT):Menu response variables}\n{=(note):**```asciidoc\n= The {tag} command DMs the user their chat mentions and anything else they specify.\n= Notifications will not be sent if the user has posted within the last 5 minutes.\n```**\n**__RECEIVE MENTIONS:__** `{pre}{tag} on` (@user)\n**__CLEAR LIST & TURN OFF:__** `{pre}{tag} off`\n**__ADD ITEM:__** `{pre}{tag} add` <word or phrase>\n**__DELETE ITEM:__** `{pre}{tag} del` <word or phrase>\n**__LIST ACTIVE ITEMS:__** `{pre}{tag} list`\n**__TEST LIST:__** `{pre}{tag} test` <provide a test sentence>}\n{=(offnote):**```diff\n- Your list has been cleared and {pre}{tag} has been deactivated.\n```**}\n{=(onnote):**```asciidoc\n= To deactivate type:\n{pre}{tag} off\n```**}\n{=(addnote):**```asciidoc\n= To deactivate type:\n{pre}{tag} off\n```**}\n{=(listnote):**```asciidoc\n= To view the main menu type:\n{pre}{tag}\n```**}\n{=(delnote):**```asciidoc\n= To view the main menu type:\n{pre}{tag}\n```**}\n\n{=(COMMENT):Conditional command block and defining output variables}\n{=(false):{test}}\n{c:hl {if({contains({L1}):on off add del list test}==true):{{L1}}|{false}}}\n{=(desc):{if({contains({L1}):on off add list del}==true):{{L1}note}|{note}}}",
  "embed": "{\"color\": 5198940, \"title\": \"{title}\", \"author\": {\"name\": \"{name}\"}, \"footer\": {\"text\": \"{footer}\", \"icon_url\": \"{footericon}\"}, \"thumbnail\": {\"url\": \"{thumbnail}\"}, \"description\": \"{desc}\"}",
  "last_fetched": "2026-10-21T00:29:35.793Z"
}