demote
Privateunrated
Content
16 lines{=(demotableroles):1001899285140475904 1001899216534257714 1001899160255082617 1001898814816403459 987123011536687184
965699700680454165 965701905366007869 1002267122363285626}
{=(comment):Don't touch this section}
{=(SRlength):{index({demotableroles(0)}):{demotableroles}}}
{=(URs):{user(roleids)}}
{=(TRs):{target(roleids)}}
{=(previousrole):{if({contains({TRs(0)}):{demotableroles}}==true):{demotableroles({m:trunc({index({TRs(0)}):{demotableroles}}-3)})}|{demotableroles(1)}}}
{=(comment):Don't touch this section}
{=(checks):{if({contains({URs(0)}):{demotableroles}}==false):1|{if({target(id)}=={user(id)}):2|{if({index({TRs(0)}):{demotableroles}}=={SRlength}):3|{if({m:trunc({index({URs(0)}):{demotableroles}}-1)}<={index({TRs(0)}):{demotableroles}}):4|false}}}}}
{=(error):You do not have a role within the list of demotable roles.$You did not mention a user. You cannot demote yourself.${target} already has the lowest role in the demotable role list.$You must be at least 2 ranks higher than {target} to demote them.}
{{if({checks}==false):c:role custom {target(id)} -{previousrole}|error({checks}):$}}
{if({checks}==false):{target(mention)} has been demoted to <@&{previousrole}> by {user(mention)}.}
{override}{silent}Raw JSON
{
"id": 1497023,
"created_at": "2022-07-30T07:26:17.000Z",
"tag_name": "demote",
"nsfw": false,
"owner_id": "903226378596519936",
"uses": 11,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "965414697891418172",
"sharer": "903226378596519936",
"content": "{=(demotableroles):1001899285140475904 1001899216534257714 1001899160255082617 1001898814816403459 987123011536687184 \n965699700680454165 965701905366007869 1002267122363285626}\n\n{=(comment):Don't touch this section}\n{=(SRlength):{index({demotableroles(0)}):{demotableroles}}}\n{=(URs):{user(roleids)}}\n{=(TRs):{target(roleids)}}\n{=(previousrole):{if({contains({TRs(0)}):{demotableroles}}==true):{demotableroles({m:trunc({index({TRs(0)}):{demotableroles}}-3)})}|{demotableroles(1)}}}\n\n{=(comment):Don't touch this section}\n{=(checks):{if({contains({URs(0)}):{demotableroles}}==false):1|{if({target(id)}=={user(id)}):2|{if({index({TRs(0)}):{demotableroles}}=={SRlength}):3|{if({m:trunc({index({URs(0)}):{demotableroles}}-1)}<={index({TRs(0)}):{demotableroles}}):4|false}}}}}\n{=(error):You do not have a role within the list of demotable roles.$You did not mention a user. You cannot demote yourself.${target} already has the lowest role in the demotable role list.$You must be at least 2 ranks higher than {target} to demote them.}\n\n{{if({checks}==false):c:role custom {target(id)} -{previousrole}|error({checks}):$}}\n{if({checks}==false):{target(mention)} has been demoted to <@&{previousrole}> by {user(mention)}.}\n{override}{silent}",
"embed": "{}",
"last_fetched": "2026-10-20T18:55:25.790Z"
}