afk

Privateunrated

Content

24 lines
{silence}
{override}
{require(Mod only command!):653778237704634369}

{=(coffset):{m:trunc(2*3600)}}
{=(ctime):{strf({m:trunc({strf:%s}+{coffset})}):%-I:%M%P}}

{=(L1):{lower:{1}}}
{=(A2+):{replace(|,┃):{args(2+)}}}
{=(on):add}
{=(off):del}

{if({args(1)}=={list(1):{join(~):{args(1)}}}):{=(error):You must follow the `afk` command with either `on` or `off`.}|{if({L1}==off):**{replace(|,┃):{user(proper)}} **AFK trigger successfully disabled.
Welcome back!|{if({L1}==on):**{replace(|,┃):{user(proper)}}** AFK trigger enabled. Whenever someone mentions you, it will output the reason you specified.
Use `.afk off` to disable the trigger.}}}

{=(template):cmd:ar {{L1}} {user(id)}> {if({L1}==on):{if({list(0):{join(,):{A2+}}}!=):**{replace(|,┃):{user}}** is currently __AFK.__ __**Reason**__: {A2+} 

It is `{ctime}` here!|**{replace(|,┃):{user(proper)}}** is __AFK__ right now, send them a PM or wait for them to return. 

It is `{ctime}` here!}}}

{=(sel):{if({contains({L1}):on off}==false):error|{template}}}
{{sel}}
Raw JSON
{
  "id": 199501,
  "created_at": "2022-04-26T10:36:19.147Z",
  "tag_name": "afk",
  "nsfw": false,
  "owner_id": "246276708242554890",
  "uses": 120,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "623565888989167627",
  "sharer": "246276708242554890",
  "content": "{silence}\n{override}\n{require(Mod only command!):653778237704634369}\n\n{=(coffset):{m:trunc(2*3600)}}\n{=(ctime):{strf({m:trunc({strf:%s}+{coffset})}):%-I:%M%P}}\n\n{=(L1):{lower:{1}}}\n{=(A2+):{replace(|,┃):{args(2+)}}}\n{=(on):add}\n{=(off):del}\n\n{if({args(1)}=={list(1):{join(~):{args(1)}}}):{=(error):You must follow the `afk` command with either `on` or `off`.}|{if({L1}==off):**{replace(|,┃):{user(proper)}} **AFK trigger successfully disabled.\nWelcome back!|{if({L1}==on):**{replace(|,┃):{user(proper)}}** AFK trigger enabled. Whenever someone mentions you, it will output the reason you specified.\nUse `.afk off` to disable the trigger.}}}\n\n{=(template):cmd:ar {{L1}} {user(id)}> {if({L1}==on):{if({list(0):{join(,):{A2+}}}!=):**{replace(|,┃):{user}}** is currently __AFK.__ __**Reason**__: {A2+} \n\nIt is `{ctime}` here!|**{replace(|,┃):{user(proper)}}** is __AFK__ right now, send them a PM or wait for them to return. \n\nIt is `{ctime}` here!}}}\n\n{=(sel):{if({contains({L1}):on off}==false):error|{template}}}\n{{sel}}",
  "embed": "{}",
  "last_fetched": "2026-10-20T21:34:49.084Z"
}