sus

Privateunrated

Content

73 lines
{require( ):770458288311631932,770485851645673533}

{=(COMMENT): Change the prefix and the recommended action taken if needed}
{=(tag.prefix):c}
{=(preset.punishment):warn}
{=(preset.reason):Đừng dùng acc clone, bạn đã vi phạm luật của server.}

{=(COMMENT): None of these should be changed unless you know what your doing and even then not really needed basically finds the basic vars you need and sets a var with all the default variable avatars}
{=(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}
{=(user.roleids.ping):<@&{replace( ,> <@&):{target(roleids)}>}}
{=(user.roleids.ping):{if({user.roleids.ping(1)}==<@&>):None|{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, IT IS ESSENTIAL YOU READ AND UNDERSTAND THIS}
{=(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):3} {=(README):Tài khoản này lập chưa tới 24 giờ, thường là acc clone.}
{=(ud.minutes.points):2} {=(README):Tài khoản này lập từ 1-30 ngày trước, có thể là acc clone, nên theo dõi chặt chẽ.}
{=(ud.hours.points):1} {=(README):Tài khoản này lập từ 1-12 tháng trước, gần như trong sạch.}
{=(ud.days.points):0} {=(README):Tài khoản này lập từ hơn 1 năm, khó có thể là acc clone.}
{=(ujd.seconds.points):2} {=(README):Thành viên mới, tham gia chưa tới 1 ngày}
{=(ujd.minutes.points):1} {=(README):Thành viên tham gia được 1-30 ngày, không cũ cũng không mới}
{=(ujd.hours.points):0} {=(README):Thành viên tham gia được 1-12 tháng}
{=(ujd.days.points):0} {=(README):Thành viên tham gia hơn 1 năm}
{=(ua.default.points):3} {=(README):Người này đang dùng avatar mặc định à?}
{=(ua.nitro.points):-1} {=(README):Người này có dùng avatar gif không? Thường acc clone không rảnh mua nitro, hoặc không có tiền nếu là acc chính}
{=(un.points):1} {=(README): Người này có thay đổi nickname gần đây?}
{=(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}}}

{=(COMMENT): Checking if the user has a nitro pfp or if its just a regular default pfp}
{=(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):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}}}}

{=(COMMENT):Finally determining the percentage since truncate can't cut of to a certain decimal it multiplies by 10000 then truncates and divides by 100 which gives it the decimal, this could be in one block but I've left it to multiple so you can edit/better understand it}
{=(sus.score):{m:{sus.score}/{total.score}}}
{=(sus.score):{if({target(proper)}=={server(owner)}):0.00|{sus.score}}} {=(README): Kiểm tra nếu đó là owner} 
{=(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}>=90.001):Gần như là acc clone, lệnh để xử phạt {preset.punishment}: ```
{tag.prefix}{preset.punishment} {target(id)} {preset.reason} 
```|}}

Embed

1 line
{"color": 5198940, "title": "{target(proper)} Thông tin và kiểm tra", "author": {"name": "{server}", "icon_url": "{server(icon)}"}, "fields": [{"name": "Tài khoản được tạo và tham gia", "value": "**Tham gia vào lúc** {target(created_at)}\n**Tuổi tài khoản:** Created {user.days}", "inline": true}, {"name": "Thông tin-------------------", "value": "**Tham gia server lúc:** {target(joined_at)}\n**Số ngày đã tham gia:** {user.join.days}", "inline": true}, {"name": "---------------------------------------------------------------------", "value": "**ID:** {target(id)}\n**Người dùng:** {target(mention)}\n**Avatar mặc định?:** {if({in({target(avatar)}):{default.avatars}}==true): Có|Không} [Avatar Link]({target(avatar)} \"Bấm vào đây\")\n**Nitro?:** {if({in(.gif):{target(avatar)}}==true):Có|Không xác định được}\n**Có thay đổi nickname?:** {if({target}=={target(name)}):Không|Có}", "inline": false}, {"name": "---------------------------------", "value": "**Số role:** {user.roleids.number}\n**Màu role:** {target(color)}\n", "inline": true}, {"name": "---------------------------------", "value": "**Roles:** {user.roleids.ping}\n", "inline": true}, {"name": "---------------------------------------------------------------------", "value": "**Mức độ khả nghi:** {target(proper)} là `{sus.score}%` clone\n{preset.punishment.final}\n", "inline": false}], "footer": {"text": "{target(proper)} - {target(id)}", "icon_url": "{target(avatar)}"}, "thumbnail": {"url": "{target(avatar)}"}}
Raw JSON
{
  "id": 461612,
  "created_at": "2020-12-02T07:50:02.000Z",
  "tag_name": "sus",
  "nsfw": false,
  "owner_id": "703433232422666261",
  "uses": 3,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "770457718049341460",
  "sharer": "703433232422666261",
  "content": "{require( ):770458288311631932,770485851645673533}\n\n{=(COMMENT): Change the prefix and the recommended action taken if needed}\n{=(tag.prefix):c}\n{=(preset.punishment):warn}\n{=(preset.reason):Đừng dùng acc clone, bạn đã vi phạm luật của server.}\n\n{=(COMMENT): None of these should be changed unless you know what your doing and even then not really needed basically finds the basic vars you need and sets a var with all the default variable avatars}\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{=(user.roleids.ping):<@&{replace( ,> <@&):{target(roleids)}>}}\n{=(user.roleids.ping):{if({user.roleids.ping(1)}==<@&>):None|{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, IT IS ESSENTIAL YOU READ AND UNDERSTAND THIS}\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\n{=(ud.seconds.points):3} {=(README):Tài khoản này lập chưa tới 24 giờ, thường là acc clone.}\n{=(ud.minutes.points):2} {=(README):Tài khoản này lập từ 1-30 ngày trước, có thể là acc clone, nên theo dõi chặt chẽ.}\n{=(ud.hours.points):1} {=(README):Tài khoản này lập từ 1-12 tháng trước, gần như trong sạch.}\n{=(ud.days.points):0} {=(README):Tài khoản này lập từ hơn 1 năm, khó có thể là acc clone.}\n{=(ujd.seconds.points):2} {=(README):Thành viên mới, tham gia chưa tới 1 ngày}\n{=(ujd.minutes.points):1} {=(README):Thành viên tham gia được 1-30 ngày, không cũ cũng không mới}\n{=(ujd.hours.points):0} {=(README):Thành viên tham gia được 1-12 tháng}\n{=(ujd.days.points):0} {=(README):Thành viên tham gia hơn 1 năm}\n{=(ua.default.points):3} {=(README):Người này đang dùng avatar mặc định à?}\n{=(ua.nitro.points):-1} {=(README):Người này có dùng avatar gif không? Thường acc clone không rảnh mua nitro, hoặc không có tiền nếu là acc chính}\n{=(un.points):1} {=(README): Người này có thay đổi nickname gần đây?}\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{=(COMMENT): Checking if the user has a nitro pfp or if its just a regular default pfp}\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\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{=(COMMENT):Finally determining the percentage since truncate can't cut of to a certain decimal it multiplies by 10000 then truncates and divides by 100 which gives it the decimal, this could be in one block but I've left it to multiple so you can edit/better understand it}\n{=(sus.score):{m:{sus.score}/{total.score}}}\n{=(sus.score):{if({target(proper)}=={server(owner)}):0.00|{sus.score}}} {=(README): Kiểm tra nếu đó là owner} \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}>=90.001):Gần như là acc clone, lệnh để xử phạt {preset.punishment}: ```\n{tag.prefix}{preset.punishment} {target(id)} {preset.reason} \n```|}}",
  "embed": "{\"color\": 5198940, \"title\": \"{target(proper)} Thông tin và kiểm tra\", \"author\": {\"name\": \"{server}\", \"icon_url\": \"{server(icon)}\"}, \"fields\": [{\"name\": \"Tài khoản được tạo và tham gia\", \"value\": \"**Tham gia vào lúc** {target(created_at)}\\n**Tuổi tài khoản:** Created {user.days}\", \"inline\": true}, {\"name\": \"Thông tin-------------------\", \"value\": \"**Tham gia server lúc:** {target(joined_at)}\\n**Số ngày đã tham gia:** {user.join.days}\", \"inline\": true}, {\"name\": \"---------------------------------------------------------------------\", \"value\": \"**ID:** {target(id)}\\n**Người dùng:** {target(mention)}\\n**Avatar mặc định?:** {if({in({target(avatar)}):{default.avatars}}==true): Có|Không} [Avatar Link]({target(avatar)} \\\"Bấm vào đây\\\")\\n**Nitro?:** {if({in(.gif):{target(avatar)}}==true):Có|Không xác định được}\\n**Có thay đổi nickname?:** {if({target}=={target(name)}):Không|Có}\", \"inline\": false}, {\"name\": \"---------------------------------\", \"value\": \"**Số role:** {user.roleids.number}\\n**Màu role:** {target(color)}\\n\", \"inline\": true}, {\"name\": \"---------------------------------\", \"value\": \"**Roles:** {user.roleids.ping}\\n\", \"inline\": true}, {\"name\": \"---------------------------------------------------------------------\", \"value\": \"**Mức độ khả nghi:** {target(proper)} là `{sus.score}%` clone\\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-20T23:21:43.082Z"
}