lockrole

Custom lockdown for specific role tag by galaxy_01#6182. In the following, Change the ``lockrole`` variable, replace the id your lockrole you created. Change the ``lockMsg`` variable for your lockdown message, by default it says "locked server for <rolename>"

Privateunrated

Content

14 lines
{=(comment):change role id and message here}

{=(lockrole):your_lockdown_role_id}
{=(lockMsg):locked server for **{args}**}

{=(comment):from now the tagscript begins, change only if you know what you are doing}

{=():}{silent}
{=(isFine):{if(!={args}):true|false}}
{=(rej):You didn't specifed any role to lock!}
{=(res):c:role in {args} {lockrole}}
{{break(true!={isFine}):{rej}}}
{{res}}
{lockMsg}
Raw JSON
{
  "id": 694286,
  "created_at": "2021-03-22T05:15:26.000Z",
  "tag_name": "lockrole",
  "nsfw": false,
  "owner_id": "729907149479870585",
  "uses": 3,
  "description": "Custom lockdown for specific role tag by galaxy_01#6182. \nIn the following, \nChange the ``lockrole`` variable, replace the id your lockrole you created. \nChange the ``lockMsg`` variable for your lockdown message, by default it says \"locked server for <rolename>\" \n",
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "732583675862057021",
  "sharer": "729907149479870585",
  "content": "{=(comment):change role id and message here}\n\n{=(lockrole):your_lockdown_role_id}\n{=(lockMsg):locked server for **{args}**}\n\n{=(comment):from now the tagscript begins, change only if you know what you are doing}\n\n{=():}{silent}\n{=(isFine):{if(!={args}):true|false}}\n{=(rej):You didn't specifed any role to lock!}\n{=(res):c:role in {args} {lockrole}}\n{{break(true!={isFine}):{rej}}}\n{{res}}\n{lockMsg}",
  "embed": "{}",
  "last_fetched": "2026-10-20T15:43:41.590Z"
}