fish
Private
Content
47 lines{=():}{override}{silent}{=(COMMENT):
Change the "slap" (loser temprole) and "cd" (cooldown temprole) variable IDs to match your server's.
Change the "dur" if you want the loser role duration to be longer/shorter (default 5-20m).
Change the "usage" variable to match your server prefix and the name of the command if you change it.}
{=(COMMENT):These are the configurations}
{=(vs):{rand:{user(id)}~{target(id)}}}{=(COMMENT):Who will win/lose}
{=(slap):1270156451733569609}{=(COMMENT):Loser role to give to the slapped}
{=(cd):1270156393936322752}{=(COMMENT):Cooldown role to give to the slapper}
{=(dur):{range:5-20} minutes}{=(COMMENT):Duration of slap temprole}
{=(usage):!fish}{=(COMMENT):Prefix and name of tag}
{blacklist(You can only slap someone with a fish once an hour!):{cd}}
{=(COMMENT): These are the checks being done}
{=(isUserID):{contains({user(id)}):{target(id)}}}
{=(lose):{contains({user(id)}):{vs}}}
{=(win):{contains({target(id)}):{vs}}}
{=(noArgs):{contains(彡):彡{args}}}
{=(argsLen):{if(1<{index(&£):{args(+2)} &£}):false|true}}
{=(isMention):{contains({target(mention)}):{args}}}
{=(checkSelf):{in(true true):{isUserID} {noArgs}} {in(true true):{contains({user(mention)}):{args(1)}} {argsLen}}}
{=(isSelf):{in(true):{checkSelf}}}
{=(is.valid):{in(false false true true):{isUserID} {noArgs} {isMention} {argsLen}}}
{=(COMMENT):Self Slap output / Invalid Usage output set up is done here}
{=(Error.Self):**{user}** slapped themself with a fish, disorienting {user} for {dur}!}
{=(Error.Other):Syntax error! Command usage: `{usage} @mention`
- You have to mention an opponent{if(false=={argsLen}): and only mention an opponent.|.}}
{=(Error.Img):https://i.imgur.com/kG90kxb.png}
{=(Error):{if(true=={isSelf}):cd.cmd~slap.cmd~Error.Self~img~footer|~~Error.Other~Error.Img}}
{=(COMMENT): Valid Usage output set up is done here.}
{=(Msg):{if(true=={win}):**{user}** slapped **{target}** with a fish, disorienting {target} for {dur}!}{if(true=={lose}):**{user}** tried to slap **{target}** with a fish, but {target} parried, disorienting {user} for {dur}!}}
{=(img):https://media1.tenor.com/m/ZkumEIenWl8AAAAC/veggietales-fish.gif}
{=(footer):You can slap again in an hour!}
{=(cd.cmd):c:temprole {user(id)} {cd} 59m}
{=(slap.cmd):c:temprole {vs} {slap} {dur}}
{=(COMMENT): Output Valid Usage / Self Slap / Invalid usage.}
{=(output):{if(true=={is.valid}):cd.cmd~slap.cmd~Msg~img~footer|{Error}}}
{{{list(0):{output}}}}
{{{list(1):{output}}}}
{checkSelf}
{isSelf}Embed
1 line{"color": 5332873, "image": {"url": "{{list(3):{output}}}"}, "footer": {"text": "{{list(4):{output}}}"}, "description": "{{list(2):{output}}}"}Raw JSON
{
"id": 2079822,
"created_at": "2024-08-05T22:44:03.000Z",
"tag_name": "fish",
"nsfw": false,
"owner_id": "602615705015156736",
"uses": 158,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "",
"hidden": false,
"guild_id": "1039570200544170025",
"sharer": "602615705015156736",
"content": "{=():}{override}{silent}{=(COMMENT):\nChange the \"slap\" (loser temprole) and \"cd\" (cooldown temprole) variable IDs to match your server's.\nChange the \"dur\" if you want the loser role duration to be longer/shorter (default 5-20m).\nChange the \"usage\" variable to match your server prefix and the name of the command if you change it.}\n\n\n{=(COMMENT):These are the configurations}\n{=(vs):{rand:{user(id)}~{target(id)}}}{=(COMMENT):Who will win/lose}\n{=(slap):1270156451733569609}{=(COMMENT):Loser role to give to the slapped}\n{=(cd):1270156393936322752}{=(COMMENT):Cooldown role to give to the slapper}\n{=(dur):{range:5-20} minutes}{=(COMMENT):Duration of slap temprole}\n{=(usage):!fish}{=(COMMENT):Prefix and name of tag}\n\n{blacklist(You can only slap someone with a fish once an hour!):{cd}}\n\n{=(COMMENT): These are the checks being done}\n{=(isUserID):{contains({user(id)}):{target(id)}}}\n{=(lose):{contains({user(id)}):{vs}}}\n{=(win):{contains({target(id)}):{vs}}}\n{=(noArgs):{contains(彡):彡{args}}}\n{=(argsLen):{if(1<{index(&£):{args(+2)} &£}):false|true}}\n{=(isMention):{contains({target(mention)}):{args}}}\n{=(checkSelf):{in(true true):{isUserID} {noArgs}} {in(true true):{contains({user(mention)}):{args(1)}} {argsLen}}}\n{=(isSelf):{in(true):{checkSelf}}}\n{=(is.valid):{in(false false true true):{isUserID} {noArgs} {isMention} {argsLen}}}\n\n{=(COMMENT):Self Slap output / Invalid Usage output set up is done here}\n{=(Error.Self):**{user}** slapped themself with a fish, disorienting {user} for {dur}!}\n{=(Error.Other):Syntax error! Command usage: `{usage} @mention`\n- You have to mention an opponent{if(false=={argsLen}): and only mention an opponent.|.}}\n{=(Error.Img):https://i.imgur.com/kG90kxb.png}\n{=(Error):{if(true=={isSelf}):cd.cmd~slap.cmd~Error.Self~img~footer|~~Error.Other~Error.Img}}\n\n{=(COMMENT): Valid Usage output set up is done here.}\n{=(Msg):{if(true=={win}):**{user}** slapped **{target}** with a fish, disorienting {target} for {dur}!}{if(true=={lose}):**{user}** tried to slap **{target}** with a fish, but {target} parried, disorienting {user} for {dur}!}}\n{=(img):https://media1.tenor.com/m/ZkumEIenWl8AAAAC/veggietales-fish.gif}\n{=(footer):You can slap again in an hour!}\n{=(cd.cmd):c:temprole {user(id)} {cd} 59m}\n{=(slap.cmd):c:temprole {vs} {slap} {dur}}\n\n{=(COMMENT): Output Valid Usage / Self Slap / Invalid usage.}\n{=(output):{if(true=={is.valid}):cd.cmd~slap.cmd~Msg~img~footer|{Error}}}\n{{{list(0):{output}}}}\n{{{list(1):{output}}}}\n\n{checkSelf}\n{isSelf}",
"embed": "{\"color\": 5332873, \"image\": {\"url\": \"{{list(3):{output}}}\"}, \"footer\": {\"text\": \"{{list(4):{output}}}\"}, \"description\": \"{{list(2):{output}}}\"}",
"last_fetched": "2026-10-20T19:41:49.495Z"
}