afk

A better AFK command that shows your reason and has better formatting all together.

Privateunrated

Content

38 lines
{=(prefix):?}
{=(option):{lower:{1}}}
{=(afkReason):{replace(|,┃):{args(2+)}}}

{=(error):
**{prefix}afk**
Sends a list of commands for the AFK category
`{prefix}afk`

**{prefix}afk on (reason)**
Enables your AFK status
`{prefix}afk on Doing backflips!`

**{prefix}afk off**
Disables your AFK status
`{prefix}afk off`
}

{=(response):> Your AFK status has been set to **{option}**. {if({option}==on): {if({list(0):{join(,):{afkReason}}}!=):
> **Reason**: {afkReason}|
> **Reason**: No reason provided}
}}

{=(on):add}
{=(off):del}

{=(template):command:ar {silent} {{option}} {user(id)}>{if({option}==on): {if({list(0):{join(,):{afkReason}}}!=):
> **{user}** is currently AFK...
> **Reason**: {afkReason}|{replace(|,┃):
> **{user}}** is currently AFK...
> **Reason**: No reason provided}
}}

{=(sel):{if({contains({option}):on off}==false):error|{template}}}
{{sel}}
{=():}
{=(res):{if({contains({option}):on off}==true):response}}
{{res}}
Raw JSON
{
  "id": 1377569,
  "created_at": "2022-04-20T14:06:51.000Z",
  "tag_name": "afk",
  "nsfw": false,
  "owner_id": "829105364234403870",
  "uses": 279,
  "description": "A better AFK command that shows your reason and has better formatting all together.",
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "961126087679701032",
  "sharer": "829105364234403870",
  "content": "{=(prefix):?}\n{=(option):{lower:{1}}}\n{=(afkReason):{replace(|,┃):{args(2+)}}}\n\n{=(error):\n**{prefix}afk**\nSends a list of commands for the AFK category\n`{prefix}afk`\n\n**{prefix}afk on (reason)**\nEnables your AFK status\n`{prefix}afk on Doing backflips!`\n\n**{prefix}afk off**\nDisables your AFK status\n`{prefix}afk off`\n}\n\n{=(response):> Your AFK status has been set to **{option}**. {if({option}==on): {if({list(0):{join(,):{afkReason}}}!=):\n> **Reason**: {afkReason}|\n> **Reason**: No reason provided}\n}}\n\n{=(on):add}\n{=(off):del}\n\n{=(template):command:ar {silent} {{option}} {user(id)}>{if({option}==on): {if({list(0):{join(,):{afkReason}}}!=):\n> **{user}** is currently AFK...\n> **Reason**: {afkReason}|{replace(|,┃):\n> **{user}}** is currently AFK...\n> **Reason**: No reason provided}\n}}\n\n{=(sel):{if({contains({option}):on off}==false):error|{template}}}\n{{sel}}\n{=():}\n{=(res):{if({contains({option}):on off}==true):response}}\n{{res}}",
  "embed": "{}",
  "last_fetched": "2026-10-20T18:45:44.163Z"
}