afk

Privateunrated

Content

19 lines
{=(BotCmds1):786652838562103315}
{=(BotCmds2):786652838943391784}
{=(AdminID):786652837546688518}
{=(L1):{lower:{1}}}
{=(A2+):{replace(|,┃):{args(2+)}}}
{=(errordesc):You must follow the `afk` command with either `on` or `off` and an optional message Please note that the optional message needs to be more than 2 words long.}
{=(error):{=(onoff):0}}
{=(placeholder):}
{=(Sdescription):Successfully added {user(mention)} to the AFK list.
AFK message: {A2+}}
{=(offdescription):Successfully removed {user(mention)} from the AFK list.}
{=(on):add}
{=(off):del}
{if({args(1)}==on):{=(onoff):1} | {if({args(1)}==off):{=(onoff):2} |  {=(onoff):0}}}
{=(num):{any({1}==|{sepcount}<{m:trunc({requiredargs}-1)}):1|0}}
{if({num}==0):{placeholder} | {=(onoff):0}}
{=(template):c:ar {{L1}} {user(id)}>{if({L1}==on): {if({list(0):{join(,):{A2+}}}!=):{A2+}|{replace(|,┃):{user}} is afk right now, send them a DM or wait for them to return.}}}
{=(sel):{if({contains({L1}):on off}==false):error|{template}}}
{override}{{sel}}

Embed

1 line
{"color": 49407, "title": "{if({args(1)}==on):Success! | {if({args(1)}==off):Success! | Incorrect Syntax!}}", "author": {"url": "", "name": "AFK Command"}, "footer": {"text": "{=(num):{any({1}==|{sepcount}<{m:trunc({requiredargs}-1)}):1|0}} {if({num}==0):{placeholder} | {=(onoff):0}}"}, "description": "{if({args(1)}==on):{=(onoff):1} {Sdescription} | {if({args(1)}==off):{=(onoff):2} {offdescription} |  {=(onoff):0} {errordesc}}}"}
Raw JSON
{
  "id": 489778,
  "created_at": "2020-12-18T00:37:22.000Z",
  "tag_name": "afk",
  "nsfw": false,
  "owner_id": "675559827425984582",
  "uses": 575,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "786652837509595227",
  "sharer": "675559827425984582",
  "content": "{=(BotCmds1):786652838562103315}\n{=(BotCmds2):786652838943391784}\n{=(AdminID):786652837546688518}\n{=(L1):{lower:{1}}}\n{=(A2+):{replace(|,┃):{args(2+)}}}\n{=(errordesc):You must follow the `afk` command with either `on` or `off` and an optional message Please note that the optional message needs to be more than 2 words long.}\n{=(error):{=(onoff):0}}\n{=(placeholder):}\n{=(Sdescription):Successfully added {user(mention)} to the AFK list.\nAFK message: {A2+}}\n{=(offdescription):Successfully removed {user(mention)} from the AFK list.}\n{=(on):add}\n{=(off):del}\n{if({args(1)}==on):{=(onoff):1} | {if({args(1)}==off):{=(onoff):2} |  {=(onoff):0}}}\n{=(num):{any({1}==|{sepcount}<{m:trunc({requiredargs}-1)}):1|0}}\n{if({num}==0):{placeholder} | {=(onoff):0}}\n{=(template):c:ar {{L1}} {user(id)}>{if({L1}==on): {if({list(0):{join(,):{A2+}}}!=):{A2+}|{replace(|,┃):{user}} is afk right now, send them a DM or wait for them to return.}}}\n{=(sel):{if({contains({L1}):on off}==false):error|{template}}}\n{override}{{sel}}",
  "embed": "{\"color\": 49407, \"title\": \"{if({args(1)}==on):Success! | {if({args(1)}==off):Success! | Incorrect Syntax!}}\", \"author\": {\"url\": \"\", \"name\": \"AFK Command\"}, \"footer\": {\"text\": \"{=(num):{any({1}==|{sepcount}<{m:trunc({requiredargs}-1)}):1|0}} {if({num}==0):{placeholder} | {=(onoff):0}}\"}, \"description\": \"{if({args(1)}==on):{=(onoff):1} {Sdescription} | {if({args(1)}==off):{=(onoff):2} {offdescription} |  {=(onoff):0} {errordesc}}}\"}",
  "last_fetched": "2026-10-20T23:32:36.190Z"
}