r

Replace things!

Privateunrated

Content

31 lines
{=(COMMENT):Replace MOD_ROLE_ID with your mod's role ID}
{require(You do not have permission to execute this command.):843944924868640799}
{=(COMMENT):Put your tag name here. This will be shown for help with usage. Include your server prefix.}
{=(tagname):=r}
{=(COMMENT):Delete the line below if you don't want the command deleted}
{delete}
{=(COMMENT):Delete the line below if you want the command output to be shown}

{=(COMMENT):Ignore these lines}
{=():}{override}
{=(targetuser):{list(0):{join(~):{args}}}}
{=(k):{lower:{list(1):{join(~):{args}}}}}
{=(duration):{list(2):{join(~):{args}}}}
{=(r.{k}):error}

{=(COMMENT):Put your role keywords and IDs below. Follow the format as shown in the example. Make sure to keep the "r." at the beginning of each keyword}
{=(r.one):842806016742654033}
{=(r.two):843942040719065149}
{=(r.three):843943319537188934}
{=(r.class-one):842092294483607612}
{=(r.class-two):842092396858835025}
{=(r.class-three):842092392369750106}
{=(r.visitor):842397833164226620}
{=(COMMENT):Do not change anything below this unless you know what you're doing.}
{=(role):{r.{k}}}
{{if({role}==error):blacklist(Invalid role. 

Roles: one, two, three, class-one, class-two, class-three, visitor):{server(id)}}}
{{if(=={targetuser}):blacklist(Usage: `{tagname} <user> <role> [duration]`):{server(id)}}}
{=(exe):{if(=={duration}):role add {targetuser} {role}|temprole {targetuser} {duration} {role}}}
{c:{exe}}
Raw JSON
{
  "id": 831981,
  "created_at": "2021-05-17T20:20:27.000Z",
  "tag_name": "r",
  "nsfw": false,
  "owner_id": "429367633012588566",
  "uses": 18,
  "description": "Replace things!",
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "842058116312596502",
  "sharer": "429367633012588566",
  "content": "{=(COMMENT):Replace MOD_ROLE_ID with your mod's role ID}\n{require(You do not have permission to execute this command.):843944924868640799}\n{=(COMMENT):Put your tag name here. This will be shown for help with usage. Include your server prefix.}\n{=(tagname):=r}\n{=(COMMENT):Delete the line below if you don't want the command deleted}\n{delete}\n{=(COMMENT):Delete the line below if you want the command output to be shown}\n\n{=(COMMENT):Ignore these lines}\n{=():}{override}\n{=(targetuser):{list(0):{join(~):{args}}}}\n{=(k):{lower:{list(1):{join(~):{args}}}}}\n{=(duration):{list(2):{join(~):{args}}}}\n{=(r.{k}):error}\n\n{=(COMMENT):Put your role keywords and IDs below. Follow the format as shown in the example. Make sure to keep the \"r.\" at the beginning of each keyword}\n{=(r.one):842806016742654033}\n{=(r.two):843942040719065149}\n{=(r.three):843943319537188934}\n{=(r.class-one):842092294483607612}\n{=(r.class-two):842092396858835025}\n{=(r.class-three):842092392369750106}\n{=(r.visitor):842397833164226620}\n{=(COMMENT):Do not change anything below this unless you know what you're doing.}\n{=(role):{r.{k}}}\n{{if({role}==error):blacklist(Invalid role. \n\nRoles: one, two, three, class-one, class-two, class-three, visitor):{server(id)}}}\n{{if(=={targetuser}):blacklist(Usage: `{tagname} <user> <role> [duration]`):{server(id)}}}\n{=(exe):{if(=={duration}):role add {targetuser} {role}|temprole {targetuser} {duration} {role}}}\n{c:{exe}}",
  "embed": "{}",
  "last_fetched": "2026-10-20T16:27:46.397Z"
}