serverlock
Privateunrated
Content
31 lines{=():}
{=(COMMENT):Configurable stuff. Words in allcaps are variable names. Here you can change the PREFIX and the TAGNAME for proper syntax to show-up whenever the error message is the output. REQUIREDIDS is where you put the required role and channel ids separated by a comma. NOPERMSMESSAGE is where you put the error when they are not on a channel or doesn't have the required roles}
{=(prefix):!}
{=(tagname):serverlock}
{=(requiredIDS):749990072853463173}
{=(nopermsmessage):You do not have the required role to use this}
{require({if({nopermsmessage}!=):{nopermsmessage}| }):{requiredIDS}}
{=(error):You did not provide a valid argument or followed the proper syntax
{and({prefix}!=|{tagname}!=):```{prefix}{tagname} <server/channel> <duration(add space between number and unit of time)> <reason>```}}
{=(time):s second seconds m minute h hour hours d day days w week weeks m month months y year years}
{=(L3):{lower:{args(3)}}}
{embed(timestamp):now}
{=(cindex):{args(2)}{time({index({args(3)}):{replace({time},. {time} .):{time}}})}}
{=(sirdumpling):{args(2)} {time({index({args(3)}):{replace({time},. {time} .):{time}}})}
{=(choice):{if({1}==server):server|{if({1}==channel):<#{channel(id)}>}}}
{=(checkindex):{if({in({L3}):{time}}==true):{cindex}}}
{=(execution):{any({args(1)}==channel|{args(1)}==server):c:lock {choice} {checkindex}|c:choose {error},{error}}}}
{=(reason):{and({in({L3}):{time}}==false|{args(3)}!=):{args(2+)}|{and({in({L3}):{time}}==true|{args(4)}!=):{args(4+)}|unspecified}}}
{=(custommessage):{if({choice}==server):This server|This channel} is locked down. You are not __**MUTED**__. Wait until further notice.}
{{execution}}Embed
1 line{"color": 14352384, "image": {"url": "{and({args(1)}!=channel|{args(1)}!=server|{args}==):embed will not send don't touch this}"}, "title": "**LOCKED**", "thumbnail": {"url": "https://cdn2.iconfinder.com/data/icons/metro-uinvert-dock/256/Power_-_Lock.png"}, "description": "{custommessage}\n\n> **Reason:** {if({reason}!=):{reason}|unspecified}\n> **Responsible Moderator:** *{user}*\n> **Duration**: {if({in({L3}):{time}}==true):{sirdumpling}|unspecified}"}Raw JSON
{
"id": 284779,
"created_at": "2022-04-26T10:37:19.479Z",
"tag_name": "serverlock",
"nsfw": false,
"owner_id": "646276399895937025",
"uses": 111,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "731654537458352178",
"sharer": "646276399895937025",
"content": "{=():}\n\n{=(COMMENT):Configurable stuff. Words in allcaps are variable names. Here you can change the PREFIX and the TAGNAME for proper syntax to show-up whenever the error message is the output. REQUIREDIDS is where you put the required role and channel ids separated by a comma. NOPERMSMESSAGE is where you put the error when they are not on a channel or doesn't have the required roles}\n{=(prefix):!}\n{=(tagname):serverlock}\n{=(requiredIDS):749990072853463173}\n{=(nopermsmessage):You do not have the required role to use this}\n\n\n\n{require({if({nopermsmessage}!=):{nopermsmessage}| }):{requiredIDS}}\n\n{=(error):You did not provide a valid argument or followed the proper syntax\n{and({prefix}!=|{tagname}!=):```{prefix}{tagname} <server/channel> <duration(add space between number and unit of time)> <reason>```}}\n\n{=(time):s second seconds m minute h hour hours d day days w week weeks m month months y year years}\n{=(L3):{lower:{args(3)}}}\n{embed(timestamp):now}\n{=(cindex):{args(2)}{time({index({args(3)}):{replace({time},. {time} .):{time}}})}}\n{=(sirdumpling):{args(2)} {time({index({args(3)}):{replace({time},. {time} .):{time}}})}\n\n{=(choice):{if({1}==server):server|{if({1}==channel):<#{channel(id)}>}}}\n{=(checkindex):{if({in({L3}):{time}}==true):{cindex}}}\n\n{=(execution):{any({args(1)}==channel|{args(1)}==server):c:lock {choice} {checkindex}|c:choose {error},{error}}}}\n\n{=(reason):{and({in({L3}):{time}}==false|{args(3)}!=):{args(2+)}|{and({in({L3}):{time}}==true|{args(4)}!=):{args(4+)}|unspecified}}}\n\n{=(custommessage):{if({choice}==server):This server|This channel} is locked down. You are not __**MUTED**__. Wait until further notice.}\n\n{{execution}}",
"embed": "{\"color\": 14352384, \"image\": {\"url\": \"{and({args(1)}!=channel|{args(1)}!=server|{args}==):embed will not send don't touch this}\"}, \"title\": \"**LOCKED**\", \"thumbnail\": {\"url\": \"https://cdn2.iconfinder.com/data/icons/metro-uinvert-dock/256/Power_-_Lock.png\"}, \"description\": \"{custommessage}\\n\\n> **Reason:** {if({reason}!=):{reason}|unspecified}\\n> **Responsible Moderator:** *{user}*\\n> **Duration**: {if({in({L3}):{time}}==true):{sirdumpling}|unspecified}\"}",
"last_fetched": "2026-10-20T22:13:42.850Z"
}