tem

Privateunrated

Content

61 lines
{=(comment):Change to your mod role ids, separated by comma}
{=(modroles):648703949838483465, 645441227713544192}

{=(comment):You can set below options as per your need}
{=(tagname):tem}
{=(comment):Prefix you use}
{=(prefix):?}
{=(comment):Number of message to be cleared after completing the process}
{=(num):6}

{=(comment):-----------DO NOT TOUCH ANYTHING BELOW-------}
{=():}
{require:{modroles}}
{=(option):{args(1)}}
{=(msgid):{args(2)}}
{=(channel):{args(3)}}
{=(json):{"embed":{args(4+)}}}

{=(authrun):{any({contains({modroles(1)}):{userroles}}==true|{contains({modroles(2)}):{userroles}}==true|{contains({modroles(3)}):{userroles}}==true|{contains({modroles(4)}):{userroles}}==true|{contains({modroles(5)}):{userroles}}==true):true|false}}

{=(forhelp):for help type `{prefix}{tagname} help`}

{=(desjson):
1️⃣ Copy above JSON code. Open your Carl Dashboard >> Go to Embeds >> Paste the **RAW JSON** and click apply.
2️⃣ Make your changes and click **COPY TO CLIPBOARD**.
3️⃣ Run below command by replacing with JSON value from dashboard.

Run below command:
```{prefix}{tagname} edit {msgid} {channel} PASTE_JSON_HERE```
}

{=(desedit):
Next run below command to clean it up.
```{prefix}{tagname} clear```
}

{=(deshelp):This tag is used to edit Embeds created by Carl Bot in a steps manner.
**To get started**:
Copy ID of message you want to edit.
Run below command and follow next process.
```{prefix}{tagname} json <PASTE_MESSAGE_ID_HERE> <CHANNEL_WHERE_EMBED_IS_PRESENT>```
Example: `{prefix}{tagname} json 636877196384010240 #info`

__List of options available__
`json` :- To get JSON value from already existing embeds.
`edit` :- Edit embeds
`clear` :- Purge last {num} messages
`help` :- for help
}


{{if({option}==json):c:embedsource {msgid} {channel}}}

{{if({option}==edit):c:ecembed {msgid} {channel} {json}}}

{{if({option}==clear):c:purge {num}}}

{{if({option}==clear):silence}}

{if({option}==json):__**Next Step**__|{if({option}==edit):__**Last Step**__|{if({option}==help):__**Help**__|}}}
{if({option}==json):{desjson}|}{if({option}==edit):{desedit}|}{if({option}==help):{deshelp}|}{if({in({option}):json edit clear help}==false):Incorrect option. Try `{prefix}{tagname} help`|}
Raw JSON
{
  "id": 820137,
  "created_at": "2021-05-12T08:39:40.000Z",
  "tag_name": "tem",
  "nsfw": false,
  "owner_id": "446922473879896065",
  "uses": 14,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "644855603495305226",
  "sharer": "446922473879896065",
  "content": "{=(comment):Change to your mod role ids, separated by comma}\n{=(modroles):648703949838483465, 645441227713544192}\n\n{=(comment):You can set below options as per your need}\n{=(tagname):tem}\n{=(comment):Prefix you use}\n{=(prefix):?}\n{=(comment):Number of message to be cleared after completing the process}\n{=(num):6}\n\n{=(comment):-----------DO NOT TOUCH ANYTHING BELOW-------}\n{=():}\n{require:{modroles}}\n{=(option):{args(1)}}\n{=(msgid):{args(2)}}\n{=(channel):{args(3)}}\n{=(json):{\"embed\":{args(4+)}}}\n\n{=(authrun):{any({contains({modroles(1)}):{userroles}}==true|{contains({modroles(2)}):{userroles}}==true|{contains({modroles(3)}):{userroles}}==true|{contains({modroles(4)}):{userroles}}==true|{contains({modroles(5)}):{userroles}}==true):true|false}}\n\n{=(forhelp):for help type `{prefix}{tagname} help`}\n\n{=(desjson):\n1️⃣ Copy above JSON code. Open your Carl Dashboard >> Go to Embeds >> Paste the **RAW JSON** and click apply.\n2️⃣ Make your changes and click **COPY TO CLIPBOARD**.\n3️⃣ Run below command by replacing with JSON value from dashboard.\n\nRun below command:\n```{prefix}{tagname} edit {msgid} {channel} PASTE_JSON_HERE```\n}\n\n{=(desedit):\nNext run below command to clean it up.\n```{prefix}{tagname} clear```\n}\n\n{=(deshelp):This tag is used to edit Embeds created by Carl Bot in a steps manner.\n**To get started**:\nCopy ID of message you want to edit.\nRun below command and follow next process.\n```{prefix}{tagname} json <PASTE_MESSAGE_ID_HERE> <CHANNEL_WHERE_EMBED_IS_PRESENT>```\nExample: `{prefix}{tagname} json 636877196384010240 #info`\n\n__List of options available__\n`json` :- To get JSON value from already existing embeds.\n`edit` :- Edit embeds\n`clear` :- Purge last {num} messages\n`help` :- for help\n}\n\n\n{{if({option}==json):c:embedsource {msgid} {channel}}}\n\n{{if({option}==edit):c:ecembed {msgid} {channel} {json}}}\n\n{{if({option}==clear):c:purge {num}}}\n\n{{if({option}==clear):silence}}\n\n{if({option}==json):__**Next Step**__|{if({option}==edit):__**Last Step**__|{if({option}==help):__**Help**__|}}}\n{if({option}==json):{desjson}|}{if({option}==edit):{desedit}|}{if({option}==help):{deshelp}|}{if({in({option}):json edit clear help}==false):Incorrect option. Try `{prefix}{tagname} help`|}",
  "embed": "{}",
  "last_fetched": "2026-10-20T16:24:43.425Z"
}