afk

Privateunrated

Content

35 lines
{=(comment):Below, replace the default tick emoji with any emoji you would like to use! If you don't know how to add a custom emoji, use [prefix]help then join the Carl-bot Help server and ask! Also, replace the / with the prefix you use for Carl-bot in your server!}
{=(emoji):<a:tick:711974347048353832>}
{=(botprefix):/}
{=(admin_ID):704898944680853624}
{=(ait_ID):704898749163372564}

{=():}
{silence}
{=(col):on off wipe}
{=(-user):{replace(|,):{user}}}
{=(largs1):{lower:{args(1)}}}
{{if({largs1}==wipe):require(Only admins can use `/afk wipe`!):{admin_ID},{ait_ID}|}}
{=(wipe error):**Usage:** `/afk wipe <@member>`
If you would like to delete your own afk message, just use `/afk off`.}
{{if({largs1}==wipe):{if({target}=={user}):wipe error|reactu:{emoji}}|}}
{=(errmsg):**You must follow the `afk` command with either `on` or `off`**.
Example: `{botprefix}afk on Doing homework!`
{any({in({admin_ID}):{user(roleids)}}==true|{in({ait_ID}):{user(roleids)}}==true):**Admins can also use `/afk wipe <@member>`.**
This can be used to remove offensive or otherwise inappropriate afk messages.}}

{=(israid):{if({largs1}==wipe):no|{if({in(< @ &):{replace(, ):{args(2+)}}}==true):yes|{if({in(@ e v e r y o n e):{replace(, ):{args(2+)}}}==true):yes|{if({in(@ h e r e):{replace(, ):{args(2+)}}}==true):yes|{if({in(< @):{replace(, ):{args(2+)}}}==true):yes|no}}}}}}
{=(raidmsg):{if({in(< @ &):{replace(, ):{args(2+)}}}==true):You tryna raid or something? LOLOLOL|{if({in(@ e v e r y o n e):{replace(, ):{args(2+)}}}==true):You tryna raid or something? LOLOLOL|{if({in(@ h e r e):{replace(, ):{args(2+)}}}==true):You tryna raid or something? LOLOLOL|{if({in(< @):{replace(, ):{args(2+)}}}==true):You can't ping people in ur afk message lol|}}}}}

{=(error):choose {errmsg},{errmsg}}
{=(on):ar add {user(id)} {if({list(0):{join(,):{replace(|,):{args(2+)}}}}!=):**{-user} is currently away:**
{replace(|,):{args(2+)}}|{-user} is afk right now, send them a DM or wait for them to return.}}
{=(off):ar del {user(id)}}
{=(wipe):{if({target}=={user}):echo|ar del {target(id)}}}
{=(sel):{if({contains({largs1}):{col}}==true):{largs1}|error}}
{override}
{{if({israid}==no):c:{{sel}}|=(hello):}}
{if({israid}==no):{if({contains(on):{args(1)}}==true):{emoji} {if({list(0):{join(,):{args(2+)}}}!=):**{-user} is now afk:**
{replace(|,):{args(2+)}}|**{-user} is now afk.**}}|{raidmsg}}
{if({contains(off):{args(1)}}==true):{emoji} **{-user} is no longer afk.**|}
{if({contains({largs1}):{col}}!=true):{errmsg}|}
Raw JSON
{
  "id": 211413,
  "created_at": "2022-04-26T10:36:29.512Z",
  "tag_name": "afk",
  "nsfw": false,
  "owner_id": "680178137090359319",
  "uses": 0,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "682091592420818974",
  "sharer": "680178137090359319",
  "content": "{=(comment):Below, replace the default tick emoji with any emoji you would like to use! If you don't know how to add a custom emoji, use [prefix]help then join the Carl-bot Help server and ask! Also, replace the / with the prefix you use for Carl-bot in your server!}\n{=(emoji):<a:tick:711974347048353832>}\n{=(botprefix):/}\n{=(admin_ID):704898944680853624}\n{=(ait_ID):704898749163372564}\n\n{=():}\n{silence}\n{=(col):on off wipe}\n{=(-user):{replace(|,):{user}}}\n{=(largs1):{lower:{args(1)}}}\n{{if({largs1}==wipe):require(Only admins can use `/afk wipe`!):{admin_ID},{ait_ID}|}}\n{=(wipe error):**Usage:** `/afk wipe <@member>`\nIf you would like to delete your own afk message, just use `/afk off`.}\n{{if({largs1}==wipe):{if({target}=={user}):wipe error|reactu:{emoji}}|}}\n{=(errmsg):**You must follow the `afk` command with either `on` or `off`**.\nExample: `{botprefix}afk on Doing homework!`\n{any({in({admin_ID}):{user(roleids)}}==true|{in({ait_ID}):{user(roleids)}}==true):**Admins can also use `/afk wipe <@member>`.**\nThis can be used to remove offensive or otherwise inappropriate afk messages.}}\n\n{=(israid):{if({largs1}==wipe):no|{if({in(< @ &):{replace(, ):{args(2+)}}}==true):yes|{if({in(@ e v e r y o n e):{replace(, ):{args(2+)}}}==true):yes|{if({in(@ h e r e):{replace(, ):{args(2+)}}}==true):yes|{if({in(< @):{replace(, ):{args(2+)}}}==true):yes|no}}}}}}\n{=(raidmsg):{if({in(< @ &):{replace(, ):{args(2+)}}}==true):You tryna raid or something? LOLOLOL|{if({in(@ e v e r y o n e):{replace(, ):{args(2+)}}}==true):You tryna raid or something? LOLOLOL|{if({in(@ h e r e):{replace(, ):{args(2+)}}}==true):You tryna raid or something? LOLOLOL|{if({in(< @):{replace(, ):{args(2+)}}}==true):You can't ping people in ur afk message lol|}}}}}\n\n{=(error):choose {errmsg},{errmsg}}\n{=(on):ar add {user(id)} {if({list(0):{join(,):{replace(|,):{args(2+)}}}}!=):**{-user} is currently away:**\n{replace(|,):{args(2+)}}|{-user} is afk right now, send them a DM or wait for them to return.}}\n{=(off):ar del {user(id)}}\n{=(wipe):{if({target}=={user}):echo|ar del {target(id)}}}\n{=(sel):{if({contains({largs1}):{col}}==true):{largs1}|error}}\n{override}\n{{if({israid}==no):c:{{sel}}|=(hello):}}\n{if({israid}==no):{if({contains(on):{args(1)}}==true):{emoji} {if({list(0):{join(,):{args(2+)}}}!=):**{-user} is now afk:**\n{replace(|,):{args(2+)}}|**{-user} is now afk.**}}|{raidmsg}}\n{if({contains(off):{args(1)}}==true):{emoji} **{-user} is no longer afk.**|}\n{if({contains({largs1}):{col}}!=true):{errmsg}|}",
  "embed": "{}",
  "last_fetched": "2026-10-20T21:40:36.050Z"
}