afk

Privateunrated

Content

13 lines
{=(col):on off}
{=(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+)}!=):{user} is currently AFK. They have also left a message: 
"{args(2+)}".|{user} is currently AFK. You can send them a DM or wait for them to return.}}
{=(off):ar del {user(id)}}
{=(sel):{if({contains({largs1}):{col}}==true):{largs1}|error}}
{override}
{if({args(2+)}!=):Alright, your status has been set to AFK. Your message is: `"{args(2+)}"`. To remove it, type `?afk off`.|Alright, your status as been set to AFK. To remove it, type `?afk off`.}
{break({args}==off):Welcome back, {user}. Your AFK status has been removed.}
{silence}
{c:{{sel}}}
Raw JSON
{
  "id": 177851,
  "created_at": "2022-04-26T10:36:04.237Z",
  "tag_name": "afk",
  "nsfw": false,
  "owner_id": "531097837908393994",
  "uses": 15,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "615002374037307404",
  "sharer": "531097837908393994",
  "content": "{=(col):on off}\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+)}!=):{user} is currently AFK. They have also left a message: \n\"{args(2+)}\".|{user} is currently AFK. You can 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{if({args(2+)}!=):Alright, your status has been set to AFK. Your message is: `\"{args(2+)}\"`. To remove it, type `?afk off`.|Alright, your status as been set to AFK. To remove it, type `?afk off`.}\n{break({args}==off):Welcome back, {user}. Your AFK status has been removed.}\n{silence}\n{c:{{sel}}}",
  "embed": "{}",
  "last_fetched": "2026-10-20T21:24:40.891Z"
}