verify

To use this tag simply run "!verify @user [x]" only include the x at the end if you wish to also apply an "observed" role, usually best to mark people you are unsure of!

Privateunrated

Content

50 lines
{=(COMMENT):Settings/Config}

{silent}

{=(role.verified):937410909016580119}
{=(role.unverified):937410909129801766}
{=(role.admins):937410909142413333}
{=(role.mods):937410909129801767}
{=(role.observe):937410909029138455}

{=(channel.triggerList):937410909511495764}
{=(channel.roles):937410909511495767}
{=(channel.intros):943133490956865586}
{=(channel.welcome):937410909511495765}
{=(channel.modCommands):937410909142413340}

{=(COMMENT):True should be set to a welcome channel, and false should be set to where you want a message to go if the command fails, in this case, the mod commands channel}
{=(redirect.true):{channel.welcome}}
{=(redirect.false):{channel.modCommands}}

{=(COMMENT):Blocks shorteners aliases}
{=(um):{user(mention)}}
{=(tm):{target(mention)}}

{=(trid):{target(roleids)}}
{=(urid):{user(roleids)}}

{=(COMMENT):Output Management}
{=(msg.verified):{tm}, {user} wants to say, welcome to {server}, make sure to read rules, familiarise yourself with the <#{channel.triggerList}>, grab some <#{channel.roles}>, and finally make a <#{channel.intros}>. Enjoy your stay!}

{=(msg.notVerified):{um}, That member does not have the Unverified role.}

{require({um}, you do not have permission to use this command.):{role.admins},{role.mods}}

{=(COMMENT):Checks and conditions, DO NOT EDIT ANYTHING BENEATH HERE}
{=(hasUnverified):{contains({role.unverified}):{trid}}}
{=(isUserTarget):{in({user(id)}):{target(id)}}}

{=(shouldVerify):{in(false true):{isUserTarget} {hasUnverified}}}

{=(COMMENT):Command Execution Management}
{=(executeVerification):c:role custom {target(id)} +{role.verified} {if({args(0)}==x):+{role.observe}} -{role.unverified}}

{=():}
{{{if({shouldVerify}==true):executeVerification}}}

{=(COMMENT):redirect {output} based on results of {shouldVerify}}
{redirect:{redirect.{if({shouldVerify}==true):true|false}}}

{=(output):{msg.{if({shouldVerify}==false):notVerified|verified}}}
Raw JSON
{
  "id": 1583257,
  "created_at": "2022-10-30T17:53:04.000Z",
  "tag_name": "verify",
  "nsfw": false,
  "owner_id": "857254633763241984",
  "uses": 1,
  "description": "To use this tag simply run \"!verify @user [x]\" only include the x at the end if you wish to also apply an \"observed\" role, usually best to mark people you are unsure of!",
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "956113815131549726",
  "sharer": "857254633763241984",
  "content": "{=(COMMENT):Settings/Config}\n\n{silent}\n\n{=(role.verified):937410909016580119}\n{=(role.unverified):937410909129801766}\n{=(role.admins):937410909142413333}\n{=(role.mods):937410909129801767}\n{=(role.observe):937410909029138455}\n\n{=(channel.triggerList):937410909511495764}\n{=(channel.roles):937410909511495767}\n{=(channel.intros):943133490956865586}\n{=(channel.welcome):937410909511495765}\n{=(channel.modCommands):937410909142413340}\n\n{=(COMMENT):True should be set to a welcome channel, and false should be set to where you want a message to go if the command fails, in this case, the mod commands channel}\n{=(redirect.true):{channel.welcome}}\n{=(redirect.false):{channel.modCommands}}\n\n{=(COMMENT):Blocks shorteners aliases}\n{=(um):{user(mention)}}\n{=(tm):{target(mention)}}\n\n{=(trid):{target(roleids)}}\n{=(urid):{user(roleids)}}\n\n{=(COMMENT):Output Management}\n{=(msg.verified):{tm}, {user} wants to say, welcome to {server}, make sure to read rules, familiarise yourself with the <#{channel.triggerList}>, grab some <#{channel.roles}>, and finally make a <#{channel.intros}>. Enjoy your stay!}\n\n{=(msg.notVerified):{um}, That member does not have the Unverified role.}\n\n{require({um}, you do not have permission to use this command.):{role.admins},{role.mods}}\n\n{=(COMMENT):Checks and conditions, DO NOT EDIT ANYTHING BENEATH HERE}\n{=(hasUnverified):{contains({role.unverified}):{trid}}}\n{=(isUserTarget):{in({user(id)}):{target(id)}}}\n\n{=(shouldVerify):{in(false true):{isUserTarget} {hasUnverified}}}\n\n{=(COMMENT):Command Execution Management}\n{=(executeVerification):c:role custom {target(id)} +{role.verified} {if({args(0)}==x):+{role.observe}} -{role.unverified}}\n\n{=():}\n{{{if({shouldVerify}==true):executeVerification}}}\n\n{=(COMMENT):redirect {output} based on results of {shouldVerify}}\n{redirect:{redirect.{if({shouldVerify}==true):true|false}}}\n\n{=(output):{msg.{if({shouldVerify}==false):notVerified|verified}}}",
  "embed": "{}",
  "last_fetched": "2026-10-20T19:02:45.351Z"
}