afk
Revamped AFK command of Raffael's AFK command. Credits to that guy!
Privateunrated
Content
14 lines{=(space):}
{=(error):Please provide `on` or `off`}
{=(L1):{lower:{1}}}
{=(reason):{args(2+)}}
{=(on):add}
{=(off):del}
{=(mes1):{user(mention)}, I have set your afk status for {if({space}=={reason}):*Unknown*|*{args(2+)}*}}
{=(mes2):Welcome back **{user}**}
{=(template): {c:ar {{L1}} {user(id)} {if({L1}==on): {if({space}=={reason}):{user} is AFK with unknown reasons. | {user} is AFK: *{reason}*}}}}
{=(sel):{if({contains({L1}):on off}==false):{error} | {template} {if({L1}==on):{mes1} | {mes2}}}}
{sel}
{delete}{silence}Raw JSON
{
"id": 527676,
"created_at": "2021-01-11T11:15:36.000Z",
"tag_name": "afk",
"nsfw": false,
"owner_id": "438218836190167040",
"uses": 86,
"description": "Revamped AFK command of Raffael's AFK command. Credits to that guy!",
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "727154758384615434",
"sharer": "438218836190167040",
"content": "{=(space):}\n{=(error):Please provide `on` or `off`}\n{=(L1):{lower:{1}}}\n{=(reason):{args(2+)}}\n{=(on):add}\n{=(off):del}\n{=(mes1):{user(mention)}, I have set your afk status for {if({space}=={reason}):*Unknown*|*{args(2+)}*}}\n{=(mes2):Welcome back **{user}**}\n{=(template): {c:ar {{L1}} {user(id)} {if({L1}==on): {if({space}=={reason}):{user} is AFK with unknown reasons. | {user} is AFK: *{reason}*}}}}\n\n{=(sel):{if({contains({L1}):on off}==false):{error} | {template} {if({L1}==on):{mes1} | {mes2}}}}\n\n{sel}\n{delete}{silence}",
"embed": "{}",
"last_fetched": "2026-10-20T23:45:36.767Z"
}