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({args(2+)}!=):**{userr} is currently away:**
{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):πŸͺ {if({args(2+)}!=):**{userr} is now afk:**
{args(2+)}|**{userr} is now afk.**}|}
{if({contains(off):{args(1)}}==true):πŸͺ **{userr} is no longer afk.**|}
{if({contains({largs1}):{col}}!=true):{errmsg}|}
Raw JSON
{
  "id": 178467,
  "created_at": "2022-04-26T10:36:04.503Z",
  "tag_name": "afk",
  "nsfw": false,
  "owner_id": "680178137090359319",
  "uses": 25,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "709290670581350482",
  "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({args(2+)}!=):**{userr} is currently away:**\n{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):πŸͺ {if({args(2+)}!=):**{userr} is now afk:**\n{args(2+)}|**{userr} is now afk.**}|}\n{if({contains(off):{args(1)}}==true):πŸͺ **{userr} is no longer afk.**|}\n{if({contains({largs1}):{col}}!=true):{errmsg}|}",
  "embed": "{}",
  "last_fetched": "2026-10-20T21:24:44.392Z"
}