afk

Privateunrated

Content

16 lines
{silence}
{=(col):on off}
{=(userr):{replace(|,):{user}}}
{=(largs1):{lower:{args(1)}}}
{=(errmsg):You must follow the `afk` command with either `on` or `off`.}
{=(error):choose {errmsg},{errmsg}}
{=(on):ar add {user(id)} {if({list(0):{join(,):{replace(|,):{args(2+)}}}}!=):**{userr} is currently away:**
{replace(|,):{args(2+)}}|{userr} is afk right now, send them a DM or wait for them to return.}}
{=(off):ar del {user(id)}}
{=(sel):{if({contains({largs1}):{col}}==true):{largs1}|error}}
{override}
{c:{{sel}}}
{if({contains(on):{args(1)}}==true):<a:tick:711974347048353832> {if({list(0):{join(,):{args(2+)}}}!=):**{userr} is now afk:**
{replace(|,):{args(2+)}}|**{userr} is now afk.**}}
{if({contains(off):{args(1)}}==true):<a:tick:711974347048353832> **{userr} is no longer afk.**|}
{if({contains({largs1}):{col}}!=true):{errmsg}|}
Raw JSON
{
  "id": 166652,
  "created_at": "2022-04-26T10:35:57.325Z",
  "tag_name": "afk",
  "nsfw": false,
  "owner_id": "680178137090359319",
  "uses": 33,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "687431118483750949",
  "sharer": "680178137090359319",
  "content": "{silence}\n{=(col):on off}\n{=(userr):{replace(|,):{user}}}\n{=(largs1):{lower:{args(1)}}}\n{=(errmsg):You must follow the `afk` command with either `on` or `off`.}\n{=(error):choose {errmsg},{errmsg}}\n{=(on):ar add {user(id)} {if({list(0):{join(,):{replace(|,):{args(2+)}}}}!=):**{userr} is currently away:**\n{replace(|,):{args(2+)}}|{userr} is afk right now, send them a DM or wait for them to return.}}\n{=(off):ar del {user(id)}}\n{=(sel):{if({contains({largs1}):{col}}==true):{largs1}|error}}\n{override}\n{c:{{sel}}}\n{if({contains(on):{args(1)}}==true):<a:tick:711974347048353832> {if({list(0):{join(,):{args(2+)}}}!=):**{userr} is now afk:**\n{replace(|,):{args(2+)}}|**{userr} is now afk.**}}\n{if({contains(off):{args(1)}}==true):<a:tick:711974347048353832> **{userr} is no longer afk.**|}\n{if({contains({largs1}):{col}}!=true):{errmsg}|}",
  "embed": "{}",
  "last_fetched": "2026-10-20T21:20:50.657Z"
}