sos

Privateunrated

Content

43 lines
{=(modrole/s):831211014888095794, 831214467978625104}
{=(announcements.channel):831214401146322995}
{=(show.debug):false}
{=():}

{=(DO NOT CHANGE ANYTHING BELOW THIS LINE):
════════════════════════════════════════════════════════════════════════}
{require(Танд энэ коммандыг хэрэглэх эрх байхгүй байна!):{modrole/s}}
{redirect:{announcements.channel}}


{=(removeletters):{replace(a, ):{replace(b, ):{replace(c, ):{replace(d, ):{replace(e, ):{replace(f, ):{replace(g, ):{replace(h, ):{replace(i, ):{replace(j, ):{replace(k, ):{replace(l, ):{replace(m, ):{replace(n, ):{replace(o, ):{replace(p, ):{replace(q, ):{replace(r, ):{replace(s, ):{replace(t, ):{replace(u, ):{replace(v, ):{replace(w, ):{replace(x, ):{replace(y, ):{replace(z, ):{lower:{args}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
{=(check1):{list(1):{join(~):$ {removeletters}}}}
{=(check2):{list(2):{join(~):$ {removeletters}}}}
{=(checknum):placeholder {replace(0,-1):{m:sgn({check1})} {m:sgn({check2})}}}
{=(find.duration):{index(1):{checknum}}}


{=(lock.duration):{replace(mos,months):{if({in(-1):{m:sgn({find.duration})}}==true):0|{args({find.duration})}}}}

{=(lock.location):{and({find.duration}==2|{in(<#):{1}}==true):{1}|{and({find.duration}==1|{in(<#):{1}}==false):server|{and({find.duration}==-1|{in(<#):{1}}==true):{1}|server}}}}

{=(reason):{and({lock.duration}==0|{in(<#):{lock.location}}==true):{args(2+)}|{and({find.duration}==1|{in(<#):{lock.location}}==false):{args(2+)}|{and({find.duration}==2|{in(<#):{lock.location}}==true):{args(3+)}|{and({lock.duration}==0|{lock.location}==server):{args}|Unspecified}}}}}


{c:lock {lock.location} {lock.duration}}

{=(DEBUG.DO.NOT.TOUCH!):
**Variable Check**
Duration is found on argument (returns `-1` if no duration was found): `{find.duration}`
Duration Locator returns `-1`: `{in(-1):{m:sgn({find.duration})}}`

**INPUT**
Target Channel and/or Duration Length: {removeletters}
Arguments: {args}

**EMBED CONTENT**
Lock Duration  - {lock.duration}
Lock Location - {lock.location} 
Reason - {any({reason}==Unspecified|=={args}|=={reason}):Unspecified|{reason}}
}

{{if({show.debug}==true):DEBUG.DO.NOT.TOUCH}} {silence}

Embed

1 line
{"color": 14352384, "title": "**ТҮР ХААГДСАН**", "author": {"name": "{server}", "icon_url": "{server(icon)}"}, "footer": {"text": "Модератор: {user(proper)}", "icon_url": "{user(avatar)}"}, "description": "{replace(s,S):{lock.location}} түр хугацаагаар __**хаагдлаа**__. Ахин мэдэгдэл хийх хүртэл хүлээнэ үү.\n\n> **Шалтгаан:** ``{any({reason}==Unspecified|=={args}|=={reason}):Unspecified|{reason}}``\n> **Хугацаа**: ``{lock.duration}``"}
Raw JSON
{
  "id": 753767,
  "created_at": "2021-04-16T04:52:10.000Z",
  "tag_name": "sos",
  "nsfw": false,
  "owner_id": "720358254991114330",
  "uses": 16,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "831209446649626674",
  "sharer": "720358254991114330",
  "content": "{=(modrole/s):831211014888095794, 831214467978625104}\n{=(announcements.channel):831214401146322995}\n{=(show.debug):false}\n{=():}\n\n{=(DO NOT CHANGE ANYTHING BELOW THIS LINE):\n════════════════════════════════════════════════════════════════════════}\n{require(Танд энэ коммандыг хэрэглэх эрх байхгүй байна!):{modrole/s}}\n{redirect:{announcements.channel}}\n\n\n{=(removeletters):{replace(a, ):{replace(b, ):{replace(c, ):{replace(d, ):{replace(e, ):{replace(f, ):{replace(g, ):{replace(h, ):{replace(i, ):{replace(j, ):{replace(k, ):{replace(l, ):{replace(m, ):{replace(n, ):{replace(o, ):{replace(p, ):{replace(q, ):{replace(r, ):{replace(s, ):{replace(t, ):{replace(u, ):{replace(v, ):{replace(w, ):{replace(x, ):{replace(y, ):{replace(z, ):{lower:{args}}}}}}}}}}}}}}}}}}}}}}}}}}}}}\n{=(check1):{list(1):{join(~):$ {removeletters}}}}\n{=(check2):{list(2):{join(~):$ {removeletters}}}}\n{=(checknum):placeholder {replace(0,-1):{m:sgn({check1})} {m:sgn({check2})}}}\n{=(find.duration):{index(1):{checknum}}}\n\n\n{=(lock.duration):{replace(mos,months):{if({in(-1):{m:sgn({find.duration})}}==true):0|{args({find.duration})}}}}\n\n{=(lock.location):{and({find.duration}==2|{in(<#):{1}}==true):{1}|{and({find.duration}==1|{in(<#):{1}}==false):server|{and({find.duration}==-1|{in(<#):{1}}==true):{1}|server}}}}\n\n{=(reason):{and({lock.duration}==0|{in(<#):{lock.location}}==true):{args(2+)}|{and({find.duration}==1|{in(<#):{lock.location}}==false):{args(2+)}|{and({find.duration}==2|{in(<#):{lock.location}}==true):{args(3+)}|{and({lock.duration}==0|{lock.location}==server):{args}|Unspecified}}}}}\n\n\n{c:lock {lock.location} {lock.duration}}\n\n{=(DEBUG.DO.NOT.TOUCH!):\n**Variable Check**\nDuration is found on argument (returns `-1` if no duration was found): `{find.duration}`\nDuration Locator returns `-1`: `{in(-1):{m:sgn({find.duration})}}`\n\n**INPUT**\nTarget Channel and/or Duration Length: {removeletters}\nArguments: {args}\n\n**EMBED CONTENT**\nLock Duration  - {lock.duration}\nLock Location - {lock.location} \nReason - {any({reason}==Unspecified|=={args}|=={reason}):Unspecified|{reason}}\n}\n\n{{if({show.debug}==true):DEBUG.DO.NOT.TOUCH}} {silence}",
  "embed": "{\"color\": 14352384, \"title\": \"**ТҮР ХААГДСАН**\", \"author\": {\"name\": \"{server}\", \"icon_url\": \"{server(icon)}\"}, \"footer\": {\"text\": \"Модератор: {user(proper)}\", \"icon_url\": \"{user(avatar)}\"}, \"description\": \"{replace(s,S):{lock.location}} түр хугацаагаар __**хаагдлаа**__. Ахин мэдэгдэл хийх хүртэл хүлээнэ үү.\\n\\n> **Шалтгаан:** ``{any({reason}==Unspecified|=={args}|=={reason}):Unspecified|{reason}}``\\n> **Хугацаа**: ``{lock.duration}``\"}",
  "last_fetched": "2026-10-20T16:05:43.523Z"
}