verify
Privateunrated
Content
45 lines{=(comment):this is defining variables we will use later}
{=(msg.noArgs):Command usage: `!verify [user mention] [age]`}
{=(msg.badMention):Please specify a valid user.}
{=(msg.noAge):Please add a valid age.}
{=(msg.badAge):Please use a valid age.}
{=(msg.success):Welcome {target(mention)}.}
{=(comment):this is defining server specific variables. if IDs change, change them here. thirToFif is 13-15, sixToSeven is 16-17, eightToTwent is 18-22, and twentThrUp is 23+. verified is the verified role, staff is the staff channel, unverified is the unverified role, and welcome is the channel where the welcome message will go}
{=(verified):742199052954894336}
{=(unverified):870837055721185331}
{=(staff):717941236782333953}
{=(welcome):714480335970369590}
{=(age.thirToFif):868223236737998878}
{=(age.sixToSeven):868223327259480084}
{=(age.eightToTwent):868223390794797126}
{=(age.twentThrUp):868223426937114624}
{=(comment):this is the restriction of who can use the command, and the removal of the automatic message from the role command block used later}
{require(You need to be staff and in the correct channel to execute this command.):{staff}}
{silent}
{=(comment):these are the conditions for the command to work}
{=(isArgs):{if(!={1}):true|false}}
{=(isMention):{if({user(mention)}!={target(mention)}):true|false}}
{=(hasAge):{if({1}!={args}):true|false}}
{=(isAge):{if({2}>=13):true|false}}
{=(comment):this is finding the correct message}
{=(msgs):msg.noArgs msg.badMention msg.noAge msg.badAge msg.success}
{=(output):{{msgs({index(false):0 {isArgs} {isMention} {hasAge} {isAge} false})}}}
{=(comment):this is finding the correct roles}
{=(isThirToFif):{if(15<{2}):true|false}}
{=(isSixToSeven):{if(17<{2}):true|false}}
{=(isEightToTwent):{if(22<{2}):true|false}}
{=(ages):age.thirToFif age.sixToSeven age.eightToTwent age.twentThrUp}
{=(ageRole):{{ages({index(false):0 {isThirToFif} {isSixToSeven} {isEightToTwent} false})}}}
{=():}
{=(giveRoles):c:role c {target(id)} +{ageRole} +{verified} -{unverified}}
{=(sendMsg):redirect:{welcome}}
{{if({output}=={msg.success}):{sendMsg}}}
{{if({output}=={msg.success}):{giveRoles}}}
{output}Raw JSON
{
"id": 965453,
"created_at": "2021-07-23T19:46:05.000Z",
"tag_name": "verify",
"nsfw": false,
"owner_id": "597996658567151646",
"uses": 162,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "714480335970369587",
"sharer": "597996658567151646",
"content": "{=(comment):this is defining variables we will use later}\n{=(msg.noArgs):Command usage: `!verify [user mention] [age]`}\n{=(msg.badMention):Please specify a valid user.}\n{=(msg.noAge):Please add a valid age.}\n{=(msg.badAge):Please use a valid age.}\n{=(msg.success):Welcome {target(mention)}.}\n{=(comment):this is defining server specific variables. if IDs change, change them here. thirToFif is 13-15, sixToSeven is 16-17, eightToTwent is 18-22, and twentThrUp is 23+. verified is the verified role, staff is the staff channel, unverified is the unverified role, and welcome is the channel where the welcome message will go}\n{=(verified):742199052954894336}\n{=(unverified):870837055721185331}\n{=(staff):717941236782333953}\n{=(welcome):714480335970369590}\n{=(age.thirToFif):868223236737998878}\n{=(age.sixToSeven):868223327259480084}\n{=(age.eightToTwent):868223390794797126}\n{=(age.twentThrUp):868223426937114624}\n\n{=(comment):this is the restriction of who can use the command, and the removal of the automatic message from the role command block used later}\n{require(You need to be staff and in the correct channel to execute this command.):{staff}}\n{silent}\n\n{=(comment):these are the conditions for the command to work}\n{=(isArgs):{if(!={1}):true|false}}\n{=(isMention):{if({user(mention)}!={target(mention)}):true|false}}\n{=(hasAge):{if({1}!={args}):true|false}}\n{=(isAge):{if({2}>=13):true|false}}\n\n{=(comment):this is finding the correct message}\n{=(msgs):msg.noArgs msg.badMention msg.noAge msg.badAge msg.success}\n{=(output):{{msgs({index(false):0 {isArgs} {isMention} {hasAge} {isAge} false})}}}\n\n{=(comment):this is finding the correct roles}\n{=(isThirToFif):{if(15<{2}):true|false}}\n{=(isSixToSeven):{if(17<{2}):true|false}}\n{=(isEightToTwent):{if(22<{2}):true|false}}\n\n{=(ages):age.thirToFif age.sixToSeven age.eightToTwent age.twentThrUp}\n{=(ageRole):{{ages({index(false):0 {isThirToFif} {isSixToSeven} {isEightToTwent} false})}}}\n\n{=():}\n\n{=(giveRoles):c:role c {target(id)} +{ageRole} +{verified} -{unverified}}\n{=(sendMsg):redirect:{welcome}}\n{{if({output}=={msg.success}):{sendMsg}}}\n{{if({output}=={msg.success}):{giveRoles}}}\n{output}",
"embed": "{}",
"last_fetched": "2026-10-21T02:12:59.962Z"
}