prison
Privateunrated
Content
27 lines{=(prisoner.role):889513897864872036}
{=(channel.id):883740447510495273}
{=(emoji.1):<a:arrow2:856846416423682048>}
{=(emoji.2):<a:warn:798491499360813086>}
{=(rrr):1. Remove the target's admin roles
2. Dont try to imprison yourself
**Imprisoning someone removes all their roles and add the prisoner role**}
{=(self.prison):{if({user(id)}=={target(id)}):true|false}}
{=(error):Uh Oh!, there was an error. Do `.prison help`}
{=(help):How to use this command properly?
{rrr}}
{=(help2):How to use this command properly?
{emoji.1} 1. Remove the target's admin roles
{emoji.1} 2. Dont try to imprison yourself
{emoji.2} **Imprisoning someone removes all their roles and add the prisoner role**}
{=(largs):{lower:{args}}}
{=(correct):{join(-):{target(roleids)}}}
{=(con.role):{contains({prisoner.role}):{target(roleids)}}}
{=(c1):{if({largs}==):{error}|{if({largs}==help):{help}|{if({con.role}==true):{error}|{if({self.prison}==true):{error}|c1}}}}}
{=(rcg):{rand:#9B59B6, #F1C40F, #E74C3C, #FF80ED, #00FFFF, #2ECC71, #3498DB, #000000, #FFFFFF}}
{=():}
{{and({c1}==c1|{self.prison}==false):c:role c {target(id)} -{correct} +{prisoner.role}}}
{if({c1}==c1):{silent}}
{=(col):{or({largs}==|{largs}==help):{rcg}|#FF0000}}
{=(icon):{if({in(a_):{server(icon)}}==true):{replace(png,gif):{server(icon)}}|{server(icon)}}}
{embed(timestamp):now}
{embed(color):{col}}Embed
1 line{"color": 5198940, "footer": {"text": "{server(name)}", "icon_url": "{icon}"}, "description": "{if({c1}!=c1):{if({con.role}==true):target has already been imprisoned|{if({largs}==help):{help2}|{c1}}}}\n{if({c1}==c1):Target has been imprisoned and has been sent to <#{channel.id}>}"}Raw JSON
{
"id": 1069164,
"created_at": "2021-09-20T15:06:21.000Z",
"tag_name": "prison",
"nsfw": false,
"owner_id": "566569303470768140",
"uses": 108,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "772749529330090005",
"sharer": "566569303470768140",
"content": "{=(prisoner.role):889513897864872036}\n{=(channel.id):883740447510495273}\n{=(emoji.1):<a:arrow2:856846416423682048>}\n{=(emoji.2):<a:warn:798491499360813086>}\n{=(rrr):1. Remove the target's admin roles\n2. Dont try to imprison yourself\n**Imprisoning someone removes all their roles and add the prisoner role**}\n{=(self.prison):{if({user(id)}=={target(id)}):true|false}}\n{=(error):Uh Oh!, there was an error. Do `.prison help`}\n{=(help):How to use this command properly?\n{rrr}}\n{=(help2):How to use this command properly?\n{emoji.1} 1. Remove the target's admin roles\n{emoji.1} 2. Dont try to imprison yourself\n{emoji.2} **Imprisoning someone removes all their roles and add the prisoner role**}\n{=(largs):{lower:{args}}}\n{=(correct):{join(-):{target(roleids)}}}\n{=(con.role):{contains({prisoner.role}):{target(roleids)}}}\n{=(c1):{if({largs}==):{error}|{if({largs}==help):{help}|{if({con.role}==true):{error}|{if({self.prison}==true):{error}|c1}}}}}\n{=(rcg):{rand:#9B59B6, #F1C40F, #E74C3C, #FF80ED, #00FFFF, #2ECC71, #3498DB, #000000, #FFFFFF}}\n{=():}\n{{and({c1}==c1|{self.prison}==false):c:role c {target(id)} -{correct} +{prisoner.role}}}\n{if({c1}==c1):{silent}}\n{=(col):{or({largs}==|{largs}==help):{rcg}|#FF0000}}\n{=(icon):{if({in(a_):{server(icon)}}==true):{replace(png,gif):{server(icon)}}|{server(icon)}}}\n{embed(timestamp):now}\n{embed(color):{col}}",
"embed": "{\"color\": 5198940, \"footer\": {\"text\": \"{server(name)}\", \"icon_url\": \"{icon}\"}, \"description\": \"{if({c1}!=c1):{if({con.role}==true):target has already been imprisoned|{if({largs}==help):{help2}|{c1}}}}\\n{if({c1}==c1):Target has been imprisoned and has been sent to <#{channel.id}>}\"}",
"last_fetched": "2026-10-20T17:38:44.099Z"
}