sus

Privateunrated

Content

77 lines
{=(tag.prefix):-}
{=(preset.punishment):warn}
{=(preset.reason):Please don't use alts as they are sus.}

{=(user.days):{td:{target(created_at)}}}
{=(user.join.days):{td:{target(joined_at)}}}
{=(default.avatars):https://cdn.discordapp.com/embed/avatars/0.png https://cdn.discordapp.com/embed/avatars/1.png https://cdn.discordapp.com/embed/avatars/2.png https://cdn.discordapp.com/embed/avatars/3.png https://cdn.discordapp.com/embed/avatars/4.png}

{=(Comment): This is a limiter to prevent the embed from breaking change it to increase the number of roles seen-or decrease it}
{=(limiter):10} 
{=(user.roleids.sub):{target(roleids)}}
{=(user.roleids.stuff):{index(abc):{target(roleids)} abc}}
{=(user.roleids.stuff):{if({user.roleids.stuff}>{limiter}):{replace({user.roleids.sub(+{m:trunc({user.roleids.stuff}-{limiter})})},):{target(roleids)}|{target(roleids)}}}}
{=(user.roleids.ping):<@&{replace( ,> <@&):{user.roleids.stuff}>}}
{=(user.roleids.ping):{if({user.roleids.ping}==<@&>):None|{replace(<@&>,):{user.roleids.ping}}}}
{=(user.roleids.list):{target(roleids)}}

{=(COMMENT):Sets the sus.score to 0 so that it can calculate the later values in this command}
{=(sus.score):0} 

{=(COMMENT): THIS IS THE POINTS SYSTEM}
{=(COMMENT): This determines what level suspicion the user has, the bigger the number the more suspicion 0 means nothing and it won't affect the final variable itself, use that to disable parts of the command, you can have values with negatives to make the suspicion score smaller (will make the final score less sus) more is explained about it beside the var itself}
{=(ud.seconds.points):14} {=(README):Users account age is under 24 hours old, usually an alt MAKE THIS THE BIGGEST NUMBER}
{=(ud.minutes.points):4} {=(README):Users account age is 1-30 days old, could be an alt would recommend keeping an eye on the user}
{=(ud.hours.points):1} {=(README):Users account age is 1-12 months old, again could be an alt but not likely}
{=(ud.days.points):0} {=(README):Users account age is 1+ years old, most likely not an alt but could be one}
{=(ujd.seconds.points):4} {=(README):Users account age in server is under 24 hours old, new memberMAKE THIS THE BIGGEST NUMBER}
{=(ujd.minutes.points):1} {=(README):Users account age in server is 1-30 days old, not a new member but not really an old member}
{=(ujd.hours.points):-0.15} {=(README):Users account age in server is 1-12 months old, would be considered seasoned or at least an old member}
{=(ujd.days.points):-1} {=(README):Users account age in the server is 1+ years old, old member}
{=(ua.default.points):3} {=(README):Is the users avatar a default one? Most alts don't change pfps which is a dead giveaway}
{=(ua.nitro.points):-1} {=(README):Does the user have a .gif avatar? Not many people have nitro for an alt(s) Negative number here because user has nitro}
{=(un.points):-0.2} {=(README): Has the user changed his/her nickname? Alts don't usually change their nickname, Disable this with "0" if needed}

{=(COMMENT):Checking and determining how old the account is and then adding sus points based on it}
{=(sus.score):{if({in(seconds ago):{user.days}}==true):{m:{sus.score}+{ud.seconds.points}}|{sus.score}}}
{=(sus.score):{if({in(minutes ago):{user.days}}==true):{m:{sus.score}+{ud.minutes.points}}|{sus.score}}}
{=(sus.score):{if({in(hours ago):{user.days}}==true):{m:{sus.score}+{ud.hours.points}}|{sus.score}}}
{=(sus.score):{if({in(days ago):{user.days}}==true):{m:{sus.score}+{ud.days.points}}|{sus.score}}}

{=(COMMENT):Same as above except its checking account age in the server or how long he/she has been in the server}
{=(sus.score):{if({in(seconds ago):{user.join.days}}==true):{m:{sus.score}+{ujd.seconds.points}}|{sus.score}}}
{=(sus.score):{if({in(minutes ago):{user.join.days}}==true):{m:{sus.score}+{ujd.minutes.points}}|{sus.score}}}
{=(sus.score):{if({in(hours ago):{user.join.days}}==true):{m:{sus.score}+{ujd.hours.points}}|{sus.score}}}
{=(sus.score):{if({in(days ago):{user.join.days}}==true):{m:{sus.score}+{ujd.days.points}}|{sus.score}}}

{=(sus.score):{if({in({target(avatar)}):{default.avatars}}==true):{m:{sus.score}+{ua.default.points}}|{sus.score}}}
{=(sus.score):{if({in(.gif):{target(avatar)}}==true):{m:{sus.score}+{ua.nitro.points}}|{sus.score}}}
{=(COMMENT): This list below is what we'll be checking... Edit as you please it will also check if we've determined he/she already has nitro so we don't double it up}
{=(sus.discrim):0001 0002 0003 0004 0005 0006 0007 0008 0009 1111 2222 3333 4444 5555 6666 7777 8888 9999 2020 2021 1000 2000 3000 4000 5000 6000 7000 8000 9000 6969 1234 6900 0690 0069 4200 1000 1010}
{=(sus.score):{and({contains({replace({user(name)}#,):{user(proper)}}):{sus.discrim}}==true|{in(.gif):{target(avatar)}}==false):{m:{sus.score}+{ua.nitro.points}}|{sus.score}}}

{=(COMMENT):Has the user changed his or her name since joining? Again you can disable this if you want by changing un.points to 0}
{=(sus.score):{if({target}=={target(name)}):{m:{sus.score}+{un.points}}|{sus.score}}}

{=(COMMENT):Checking how many roles the user has, had a problem if the user had 1 or 0 roles would output 0 no matter what so the bottom block checks if its 1 or 0 and changes the above value to the correct one}
{=(user.roleids.number):{index($$$):{{target(roleids)}} $$$}}
{=(user.roleids.number):{if({user.roleids.list(1)}=={user.roleids.list(2)}):{if({user.roleids.list(1)}==):0|1}|{user.roleids.number}}}

{=(COMMENT):Taking all the scores checking if there negative and then adding if they aren't This determines the final percentage and embed color which is why you must follow the points system correctly ^ find above}
{=(total.score):{m:{if({m:sgn({ud.seconds.points})}==-1):0|{ud.seconds.points}}+{if({m:sgn({ujd.seconds.points})}==-1):0|{ujd.seconds.points}}+{if({m:sgn({ua.default.points})}==-1):0|{ua.default.points}}+{if({m:sgn({ua.nitro.points})}==-1):0|{ua.nitro.points}}+{if({m:sgn({un.points})}==-1):0|{un.points}}}}

{if({sus.score}<=0.001):{=(sus.score):{m:{sus.score}/-1}}}
{=(sus.score):{m:{sus.score}/{total.score}}}
{=(sus.score):{if({target(proper)}=={server(owner)}):100000.00|{sus.score}}}
{=(sus.score):{m:{sus.score}*10000}}
{=(sus.score):{m:trunc({sus.score})}}
{=(sus.score):{m:{sus.score}/100}}

{=(COMMENT):Embed color, don't touch if you don't know how it works, if you want to have just one color change the bottom block with the hex you want}
{=(embed.color):{if({sus.score}<=20.001):7ED321|{if({sus.score}<=40.001):BBDD1F|{if({sus.score}<=60.001):F8E71C|{if({sus.score}<=80.001):E4751C|D0021B}}}}}
{embed(color):#{embed.color}}

{=(COMMENT):The final punishment if recommended}
{=(preset.punishment.final):{if({sus.score}>=70.001):Most likely an alt, command to {preset.punishment}: ```diff
{tag.prefix}{preset.punishment} {target(id)} {preset.reason}
```|}}

Embed

1 line
{"color": 5198940, "title": "{target(proper)} Info and Suspicion Check", "author": {"name": "{server}", "icon_url": "{server(icon)}"}, "fields": [{"name": "Account creation and join", "value": "**Discord join date:** {target(created_at)}\n**Acount Age:** Created {user.days}", "inline": true}, {"name": "Information-------------------", "value": "**Server join date:** {target(joined_at)}\n**Joined server:** Joined {user.join.days}", "inline": true}, {"name": "---------------------------------------------------------------------", "value": "**ID:** {target(id)}\n**Mention:** {target(mention)}\n**Default Avatar?:** {if({in({target(avatar)}):{default.avatars}}==true): Yes|No} [Avatar Link]({target(avatar)} \"Click Here!\")\n**Nitro?:** {if({in(.gif):{target(avatar)}}==true):Yes|Cannot Confirm}\n**Changed Name?:** {if({target}=={target(name)}):No|Yes}", "inline": false}, {"name": "---------------------------------", "value": "**Number Of Roles:** {user.roleids.number}\n**Role Color:** {target(color)}\n", "inline": true}, {"name": "---------------------------------", "value": "**Roles:** {user.roleids.ping}\n", "inline": true}, {"name": "---------------------------------------------------------------------", "value": "**Suspicion Level:** {target(proper)} is `{sus.score}%` suspicious\n{preset.punishment.final}\n", "inline": false}], "footer": {"text": "{target(proper)} - {target(id)}", "icon_url": "{target(avatar)}"}, "thumbnail": {"url": "{target(avatar)}"}}
Raw JSON
{
  "id": 770137,
  "created_at": "2021-04-22T10:05:39.000Z",
  "tag_name": "sus",
  "nsfw": false,
  "owner_id": "749917031502970910",
  "uses": 173,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "749664315807760525",
  "sharer": "749917031502970910",
  "content": "{=(tag.prefix):-}\n{=(preset.punishment):warn}\n{=(preset.reason):Please don't use alts as they are sus.}\n\n{=(user.days):{td:{target(created_at)}}}\n{=(user.join.days):{td:{target(joined_at)}}}\n{=(default.avatars):https://cdn.discordapp.com/embed/avatars/0.png https://cdn.discordapp.com/embed/avatars/1.png https://cdn.discordapp.com/embed/avatars/2.png https://cdn.discordapp.com/embed/avatars/3.png https://cdn.discordapp.com/embed/avatars/4.png}\n\n{=(Comment): This is a limiter to prevent the embed from breaking change it to increase the number of roles seen-or decrease it}\n{=(limiter):10} \n{=(user.roleids.sub):{target(roleids)}}\n{=(user.roleids.stuff):{index(abc):{target(roleids)} abc}}\n{=(user.roleids.stuff):{if({user.roleids.stuff}>{limiter}):{replace({user.roleids.sub(+{m:trunc({user.roleids.stuff}-{limiter})})},):{target(roleids)}|{target(roleids)}}}}\n{=(user.roleids.ping):<@&{replace( ,> <@&):{user.roleids.stuff}>}}\n{=(user.roleids.ping):{if({user.roleids.ping}==<@&>):None|{replace(<@&>,):{user.roleids.ping}}}}\n{=(user.roleids.list):{target(roleids)}}\n\n{=(COMMENT):Sets the sus.score to 0 so that it can calculate the later values in this command}\n{=(sus.score):0} \n\n{=(COMMENT): THIS IS THE POINTS SYSTEM}\n{=(COMMENT): This determines what level suspicion the user has, the bigger the number the more suspicion 0 means nothing and it won't affect the final variable itself, use that to disable parts of the command, you can have values with negatives to make the suspicion score smaller (will make the final score less sus) more is explained about it beside the var itself}\n{=(ud.seconds.points):14} {=(README):Users account age is under 24 hours old, usually an alt MAKE THIS THE BIGGEST NUMBER}\n{=(ud.minutes.points):4} {=(README):Users account age is 1-30 days old, could be an alt would recommend keeping an eye on the user}\n{=(ud.hours.points):1} {=(README):Users account age is 1-12 months old, again could be an alt but not likely}\n{=(ud.days.points):0} {=(README):Users account age is 1+ years old, most likely not an alt but could be one}\n{=(ujd.seconds.points):4} {=(README):Users account age in server is under 24 hours old, new memberMAKE THIS THE BIGGEST NUMBER}\n{=(ujd.minutes.points):1} {=(README):Users account age in server is 1-30 days old, not a new member but not really an old member}\n{=(ujd.hours.points):-0.15} {=(README):Users account age in server is 1-12 months old, would be considered seasoned or at least an old member}\n{=(ujd.days.points):-1} {=(README):Users account age in the server is 1+ years old, old member}\n{=(ua.default.points):3} {=(README):Is the users avatar a default one? Most alts don't change pfps which is a dead giveaway}\n{=(ua.nitro.points):-1} {=(README):Does the user have a .gif avatar? Not many people have nitro for an alt(s) Negative number here because user has nitro}\n{=(un.points):-0.2} {=(README): Has the user changed his/her nickname? Alts don't usually change their nickname, Disable this with \"0\" if needed}\n\n{=(COMMENT):Checking and determining how old the account is and then adding sus points based on it}\n{=(sus.score):{if({in(seconds ago):{user.days}}==true):{m:{sus.score}+{ud.seconds.points}}|{sus.score}}}\n{=(sus.score):{if({in(minutes ago):{user.days}}==true):{m:{sus.score}+{ud.minutes.points}}|{sus.score}}}\n{=(sus.score):{if({in(hours ago):{user.days}}==true):{m:{sus.score}+{ud.hours.points}}|{sus.score}}}\n{=(sus.score):{if({in(days ago):{user.days}}==true):{m:{sus.score}+{ud.days.points}}|{sus.score}}}\n\n{=(COMMENT):Same as above except its checking account age in the server or how long he/she has been in the server}\n{=(sus.score):{if({in(seconds ago):{user.join.days}}==true):{m:{sus.score}+{ujd.seconds.points}}|{sus.score}}}\n{=(sus.score):{if({in(minutes ago):{user.join.days}}==true):{m:{sus.score}+{ujd.minutes.points}}|{sus.score}}}\n{=(sus.score):{if({in(hours ago):{user.join.days}}==true):{m:{sus.score}+{ujd.hours.points}}|{sus.score}}}\n{=(sus.score):{if({in(days ago):{user.join.days}}==true):{m:{sus.score}+{ujd.days.points}}|{sus.score}}}\n\n{=(sus.score):{if({in({target(avatar)}):{default.avatars}}==true):{m:{sus.score}+{ua.default.points}}|{sus.score}}}\n{=(sus.score):{if({in(.gif):{target(avatar)}}==true):{m:{sus.score}+{ua.nitro.points}}|{sus.score}}}\n{=(COMMENT): This list below is what we'll be checking... Edit as you please it will also check if we've determined he/she already has nitro so we don't double it up}\n{=(sus.discrim):0001 0002 0003 0004 0005 0006 0007 0008 0009 1111 2222 3333 4444 5555 6666 7777 8888 9999 2020 2021 1000 2000 3000 4000 5000 6000 7000 8000 9000 6969 1234 6900 0690 0069 4200 1000 1010}\n{=(sus.score):{and({contains({replace({user(name)}#,):{user(proper)}}):{sus.discrim}}==true|{in(.gif):{target(avatar)}}==false):{m:{sus.score}+{ua.nitro.points}}|{sus.score}}}\n\n{=(COMMENT):Has the user changed his or her name since joining? Again you can disable this if you want by changing un.points to 0}\n{=(sus.score):{if({target}=={target(name)}):{m:{sus.score}+{un.points}}|{sus.score}}}\n\n{=(COMMENT):Checking how many roles the user has, had a problem if the user had 1 or 0 roles would output 0 no matter what so the bottom block checks if its 1 or 0 and changes the above value to the correct one}\n{=(user.roleids.number):{index($$$):{{target(roleids)}} $$$}}\n{=(user.roleids.number):{if({user.roleids.list(1)}=={user.roleids.list(2)}):{if({user.roleids.list(1)}==):0|1}|{user.roleids.number}}}\n\n{=(COMMENT):Taking all the scores checking if there negative and then adding if they aren't This determines the final percentage and embed color which is why you must follow the points system correctly ^ find above}\n{=(total.score):{m:{if({m:sgn({ud.seconds.points})}==-1):0|{ud.seconds.points}}+{if({m:sgn({ujd.seconds.points})}==-1):0|{ujd.seconds.points}}+{if({m:sgn({ua.default.points})}==-1):0|{ua.default.points}}+{if({m:sgn({ua.nitro.points})}==-1):0|{ua.nitro.points}}+{if({m:sgn({un.points})}==-1):0|{un.points}}}}\n\n{if({sus.score}<=0.001):{=(sus.score):{m:{sus.score}/-1}}}\n{=(sus.score):{m:{sus.score}/{total.score}}}\n{=(sus.score):{if({target(proper)}=={server(owner)}):100000.00|{sus.score}}}\n{=(sus.score):{m:{sus.score}*10000}}\n{=(sus.score):{m:trunc({sus.score})}}\n{=(sus.score):{m:{sus.score}/100}}\n\n{=(COMMENT):Embed color, don't touch if you don't know how it works, if you want to have just one color change the bottom block with the hex you want}\n{=(embed.color):{if({sus.score}<=20.001):7ED321|{if({sus.score}<=40.001):BBDD1F|{if({sus.score}<=60.001):F8E71C|{if({sus.score}<=80.001):E4751C|D0021B}}}}}\n{embed(color):#{embed.color}}\n\n{=(COMMENT):The final punishment if recommended}\n{=(preset.punishment.final):{if({sus.score}>=70.001):Most likely an alt, command to {preset.punishment}: ```diff\n{tag.prefix}{preset.punishment} {target(id)} {preset.reason}\n```|}}",
  "embed": "{\"color\": 5198940, \"title\": \"{target(proper)} Info and Suspicion Check\", \"author\": {\"name\": \"{server}\", \"icon_url\": \"{server(icon)}\"}, \"fields\": [{\"name\": \"Account creation and join\", \"value\": \"**Discord join date:** {target(created_at)}\\n**Acount Age:** Created {user.days}\", \"inline\": true}, {\"name\": \"Information-------------------\", \"value\": \"**Server join date:** {target(joined_at)}\\n**Joined server:** Joined {user.join.days}\", \"inline\": true}, {\"name\": \"---------------------------------------------------------------------\", \"value\": \"**ID:** {target(id)}\\n**Mention:** {target(mention)}\\n**Default Avatar?:** {if({in({target(avatar)}):{default.avatars}}==true): Yes|No} [Avatar Link]({target(avatar)} \\\"Click Here!\\\")\\n**Nitro?:** {if({in(.gif):{target(avatar)}}==true):Yes|Cannot Confirm}\\n**Changed Name?:** {if({target}=={target(name)}):No|Yes}\", \"inline\": false}, {\"name\": \"---------------------------------\", \"value\": \"**Number Of Roles:** {user.roleids.number}\\n**Role Color:** {target(color)}\\n\", \"inline\": true}, {\"name\": \"---------------------------------\", \"value\": \"**Roles:** {user.roleids.ping}\\n\", \"inline\": true}, {\"name\": \"---------------------------------------------------------------------\", \"value\": \"**Suspicion Level:** {target(proper)} is `{sus.score}%` suspicious\\n{preset.punishment.final}\\n\", \"inline\": false}], \"footer\": {\"text\": \"{target(proper)} - {target(id)}\", \"icon_url\": \"{target(avatar)}\"}, \"thumbnail\": {\"url\": \"{target(avatar)}\"}}",
  "last_fetched": "2026-10-21T01:13:02.885Z"
}