addtrick
Privateunrated
Content
11 lines{=():}
{=(commonrole):901716017791766548}
{=(role2):{replace(|,):{replace(-,):{target(name)} Trick or Treat}}}
{=(mentioned):{if({user(id)}=={target(id)}):no|yes}}
{{all({1}==create|{mentioned}==yes):c:role create "{target(name)} Trick or Treat"}}
{{all({1}==add|{mentioned}==yes):c:role c {target(id)} +{commonrole} +"{role2}"}}
{=(em.desc):{if(=={args}):The subcommands you can use are shown below:-
`!addtrick create [user]`
`!addtrick add [user]`|{if({mentioned}==no):Looks like you didn't mention anyone in the command. You need to mention someone for this to work!|{all({1}==create|{mentioned}==yes):{target} has been added to the Trick or Treat list. Please run the following command to add their roles to them!
`!addtrick add {target(mention)}`|{all({1}==add|{mentioned}==yes):Success! The required roles have been added to {target} and they can now use the trick or treat cmd using `!trickortreat`!}}}}}
{silent}Embed
1 line{"color": 14572057, "author": {"name": "{server}", "icon_url": "{server(icon)}"}, "description": "{em.desc}"}Raw JSON
{
"id": 1121319,
"created_at": "2021-10-24T06:16:00.000Z",
"tag_name": "addtrick",
"nsfw": false,
"owner_id": "823904633944539196",
"uses": 22,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "831515159893770270",
"sharer": "823904633944539196",
"content": "{=():}\n{=(commonrole):901716017791766548}\n{=(role2):{replace(|,):{replace(-,):{target(name)} Trick or Treat}}}\n{=(mentioned):{if({user(id)}=={target(id)}):no|yes}}\n{{all({1}==create|{mentioned}==yes):c:role create \"{target(name)} Trick or Treat\"}}\n{{all({1}==add|{mentioned}==yes):c:role c {target(id)} +{commonrole} +\"{role2}\"}}\n{=(em.desc):{if(=={args}):The subcommands you can use are shown below:-\n`!addtrick create [user]` \n`!addtrick add [user]`|{if({mentioned}==no):Looks like you didn't mention anyone in the command. You need to mention someone for this to work!|{all({1}==create|{mentioned}==yes):{target} has been added to the Trick or Treat list. Please run the following command to add their roles to them!\n`!addtrick add {target(mention)}`|{all({1}==add|{mentioned}==yes):Success! The required roles have been added to {target} and they can now use the trick or treat cmd using `!trickortreat`!}}}}}\n{silent}",
"embed": "{\"color\": 14572057, \"author\": {\"name\": \"{server}\", \"icon_url\": \"{server(icon)}\"}, \"description\": \"{em.desc}\"}",
"last_fetched": "2026-10-20T17:52:43.050Z"
}