fp

Private

Content

57 lines
<@&1221666183695171614>
{=(COMMENT):Args 1 - Time Checks}
{=(t):{lower:{replace(, ):{urlencode:{replace( ,):{args(1):/}}}}}}
{=(mDC):{if(false=={in(m):{t(2+):m}}):true|false}}
{=(vTC):{in(m):{t}}}
{=(vT):{join():{replace(m,):{t}}}}
{=(vT):{if({m:sgn({vT})}==1):true|false}}
{=(time):{join():{t}}}
{=(time):{replace(m,*60):{time}}}
{=(time):<t:{m:trunc({unix}+{time})}:R>}
{=(tC):{in(true true true):{mDC} {vTC} {vT}}}

{=(COMMENT):Usable List Check}
{=(lC):{contains(~):{replace(, ):{args}}}}
{=(largs):{if(false=={lC}):{replace(/,~):{args}}}}

{=(COMMENT):Args 2 - Sponsor Checks}
{=(a2):{replace( ,):{list(1):{largs}}}}
{=(sponsor):{if(true=={contains({target(mention)}):{a2}}):{target(mention)}|{if({m:sgn({a2})}==1):<@{a2}>}}}
{=(a2length):{index(&$):{a2} &$}}
{=(a2valid):{if(1=={a2length}):true|false}}
{=(a2c):{if(true=={contains({target(mention)}):{a2}}):true|{if({m:sgn({a2})}==1):true|false}}}
{=(sponsorCheck):{in(true true):{a2valid} {a2c}}}

{=(COMMENT):Args 3 - Amount Checks}
{=(a3):{replace( ,):{list(2):{largs}}}}
{=(a3a):{replace(, ):{a3}}}
{=(a3length):{index(&$):{a3} &$}}
{=(a3valid):{any(1=={a3length}|0=={a3length}):true|false}}
{=(amDC):{if(false=={in(m):{a3a(2+):m}}):true|false}}
{=(vAC):{if(!={a3}):{in(m):{a3a}}|true}}
{=(vA):{join():{replace(m,):{a3a}}}}
{=(vA):{if(!={a3}):{if({m:sgn({vA})}==1):true|false}|true}}
{=(aC):{in(true true true true):{a3valid} {amDC} {vAC} {vA}}}
{=(amount):{if(=={a3}):100m|{if(true=={aC}):{a3}}}}

{=(COMMENT):All Checks Together}
{=(allC):{in(true true true):{tC} {a2c} {aC}}}

{=(COMMENT):Embed Color for successful and error messages}
{{if(true=={allC}):embed(color):#F3DA3F|embed(color):#D0021B}}


{=(COMMENT):This is the output, whether its to output sucessful usage or error messages}
{=(errorTitle):{any(false=={tC}|false=={sponsorCheck}|false=={aC}):⚠️ Invalid Usage! ⚠️}}
{=(output):{if(true=={allC}):<a:peepo_money:1227901688497573969> **FLASH GIVEAWAY TIME** <a:peepo_money:1227901688497573969> 

**Starting Flashes**: {time}
**Sponsor** :- {sponsor}
**Host** :- {user(mention)}
**Amount** :- {amount}~}{if(false=={tC}):- You have not entered a valid time.
 - You must enter a value with an m on the end.
 - Such as: 10m~}{if(false=={sponsorCheck}):- You have not entered a valid sponsor.
  - You must either mention the user or use their ID.
  - if you are the sponsor, mention yourself or enter your own ID.~}{if(false=={aC}):- You have entered an incorrect amount.
  - Make sure to enter a value along with an m on the end.
  - Such as: 100m}}

Embed

1 line
{"color": 13632027, "title": "{errorTitle}", "description": "{list(0):{output}}\n{list(1):{output}}\n{list(2):{output}}"}
Raw JSON
{
  "id": 1998595,
  "created_at": "2024-04-25T10:28:14.000Z",
  "tag_name": "fp",
  "nsfw": false,
  "owner_id": "784263278783365171",
  "uses": 7,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "",
  "hidden": false,
  "guild_id": "981541198382633000",
  "sharer": "784263278783365171",
  "content": "<@&1221666183695171614>\n{=(COMMENT):Args 1 - Time Checks}\n{=(t):{lower:{replace(, ):{urlencode:{replace( ,):{args(1):/}}}}}}\n{=(mDC):{if(false=={in(m):{t(2+):m}}):true|false}}\n{=(vTC):{in(m):{t}}}\n{=(vT):{join():{replace(m,):{t}}}}\n{=(vT):{if({m:sgn({vT})}==1):true|false}}\n{=(time):{join():{t}}}\n{=(time):{replace(m,*60):{time}}}\n{=(time):<t:{m:trunc({unix}+{time})}:R>}\n{=(tC):{in(true true true):{mDC} {vTC} {vT}}}\n\n{=(COMMENT):Usable List Check}\n{=(lC):{contains(~):{replace(, ):{args}}}}\n{=(largs):{if(false=={lC}):{replace(/,~):{args}}}}\n\n{=(COMMENT):Args 2 - Sponsor Checks}\n{=(a2):{replace( ,):{list(1):{largs}}}}\n{=(sponsor):{if(true=={contains({target(mention)}):{a2}}):{target(mention)}|{if({m:sgn({a2})}==1):<@{a2}>}}}\n{=(a2length):{index(&$):{a2} &$}}\n{=(a2valid):{if(1=={a2length}):true|false}}\n{=(a2c):{if(true=={contains({target(mention)}):{a2}}):true|{if({m:sgn({a2})}==1):true|false}}}\n{=(sponsorCheck):{in(true true):{a2valid} {a2c}}}\n\n{=(COMMENT):Args 3 - Amount Checks}\n{=(a3):{replace( ,):{list(2):{largs}}}}\n{=(a3a):{replace(, ):{a3}}}\n{=(a3length):{index(&$):{a3} &$}}\n{=(a3valid):{any(1=={a3length}|0=={a3length}):true|false}}\n{=(amDC):{if(false=={in(m):{a3a(2+):m}}):true|false}}\n{=(vAC):{if(!={a3}):{in(m):{a3a}}|true}}\n{=(vA):{join():{replace(m,):{a3a}}}}\n{=(vA):{if(!={a3}):{if({m:sgn({vA})}==1):true|false}|true}}\n{=(aC):{in(true true true true):{a3valid} {amDC} {vAC} {vA}}}\n{=(amount):{if(=={a3}):100m|{if(true=={aC}):{a3}}}}\n\n{=(COMMENT):All Checks Together}\n{=(allC):{in(true true true):{tC} {a2c} {aC}}}\n\n{=(COMMENT):Embed Color for successful and error messages}\n{{if(true=={allC}):embed(color):#F3DA3F|embed(color):#D0021B}}\n\n\n{=(COMMENT):This is the output, whether its to output sucessful usage or error messages}\n{=(errorTitle):{any(false=={tC}|false=={sponsorCheck}|false=={aC}):⚠️ Invalid Usage! ⚠️}}\n{=(output):{if(true=={allC}):<a:peepo_money:1227901688497573969> **FLASH GIVEAWAY TIME** <a:peepo_money:1227901688497573969> \n\n**Starting Flashes**: {time}\n**Sponsor** :- {sponsor}\n**Host** :- {user(mention)}\n**Amount** :- {amount}~}{if(false=={tC}):- You have not entered a valid time.\n - You must enter a value with an m on the end.\n - Such as: 10m~}{if(false=={sponsorCheck}):- You have not entered a valid sponsor.\n  - You must either mention the user or use their ID.\n  - if you are the sponsor, mention yourself or enter your own ID.~}{if(false=={aC}):- You have entered an incorrect amount.\n  - Make sure to enter a value along with an m on the end.\n  - Such as: 100m}}",
  "embed": "{\"color\": 13632027, \"title\": \"{errorTitle}\", \"description\": \"{list(0):{output}}\\n{list(1):{output}}\\n{list(2):{output}}\"}",
  "last_fetched": "2026-10-20T19:36:32.578Z"
}