boss

Private

Content

32 lines
{=():} {override} {silent}
{=(arg):{{if(5>{index(&£):{join( ):{replace(, ):{args}}} &£}):args}}}

{=(defTime):180}

{=(t):{join( ):{replace(, ):{arg(1)}}}}
{=(time):{urlencode:{join():{t(2+)}}}}
{=(isTime):{if({m:sgn({time})}==1):true|false}}

{=(hasAdd):{contains(+):{t(1)}}}
{=(hasSubtract):{contains(-):{t(1)}}}
{=(isAdd):{in(true true):{hasAdd} {isTime}}}
{=(isSubtract):{in(true true):{hasSubtract} {isTime}}}
{=(isAddSubtract):{in(true):{hasAdd} {hasSubtract}}}

{=(inputChecks):{in(true true):{isAddSubtract} {isTime}}}
{=(argsEmpty):{contains(&£):&£{args}}}

{=(timeOutput):{{if(true=={isAdd}):{join(): m:trunc({defTime}+{time})}}{if(true=={isSubtract}):{join(): m:trunc({defTime}-{time})}}{if(true=={argsEmpty}):defTime}}}
{=(Timestamp):<t:{m:trunc({unix}+{m:trunc({timeOutput}*60)})}:T>}
{=(onUseMessage):**{user}** has set a timer for {Timestamp}, everyone will be pinged when the boss respawns.}
{=(reminderMsg):boss has respawned}

{=(error):Default duration is 3 hours. Leave empty to use the default timer. Otherwise you can only `+` or `-` minutes when using the command.
- To add minutes to the default use + along with the amount. such as +5
- To subtract minutes from the default use - along with the amount. such as -5}

{=(rem.cmd):c:af everyone {timeOutput}m {reminderMsg}}

{=(output):{if(true=={in(true):{inputChecks} {argsEmpty}}):rem.cmd~onUseMessage|~error}}
{{{list(0):{output}}}}
{{list(1):{output}}}
Raw JSON
{
  "id": 2094382,
  "created_at": "2024-08-20T22:32:16.000Z",
  "tag_name": "boss",
  "nsfw": false,
  "owner_id": "602615705015156736",
  "uses": 55,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "",
  "hidden": false,
  "guild_id": "1275537917493907456",
  "sharer": "602615705015156736",
  "content": "{=():} {override} {silent}\n{=(arg):{{if(5>{index(&£):{join( ):{replace(, ):{args}}} &£}):args}}}\n\n{=(defTime):180}\n\n{=(t):{join( ):{replace(, ):{arg(1)}}}}\n{=(time):{urlencode:{join():{t(2+)}}}}\n{=(isTime):{if({m:sgn({time})}==1):true|false}}\n\n{=(hasAdd):{contains(+):{t(1)}}}\n{=(hasSubtract):{contains(-):{t(1)}}}\n{=(isAdd):{in(true true):{hasAdd} {isTime}}}\n{=(isSubtract):{in(true true):{hasSubtract} {isTime}}}\n{=(isAddSubtract):{in(true):{hasAdd} {hasSubtract}}}\n\n{=(inputChecks):{in(true true):{isAddSubtract} {isTime}}}\n{=(argsEmpty):{contains(&£):&£{args}}}\n\n{=(timeOutput):{{if(true=={isAdd}):{join(): m:trunc({defTime}+{time})}}{if(true=={isSubtract}):{join(): m:trunc({defTime}-{time})}}{if(true=={argsEmpty}):defTime}}}\n{=(Timestamp):<t:{m:trunc({unix}+{m:trunc({timeOutput}*60)})}:T>}\n{=(onUseMessage):**{user}** has set a timer for {Timestamp}, everyone will be pinged when the boss respawns.}\n{=(reminderMsg):boss has respawned}\n\n{=(error):Default duration is 3 hours. Leave empty to use the default timer. Otherwise you can only `+` or `-` minutes when using the command.\n- To add minutes to the default use + along with the amount. such as +5\n- To subtract minutes from the default use - along with the amount. such as -5}\n\n{=(rem.cmd):c:af everyone {timeOutput}m {reminderMsg}}\n\n{=(output):{if(true=={in(true):{inputChecks} {argsEmpty}}):rem.cmd~onUseMessage|~error}}\n{{{list(0):{output}}}}\n{{list(1):{output}}}",
  "embed": "{}",
  "last_fetched": "2026-10-20T19:43:36.941Z"
}