selfmute

This tag is to mute yourself. Add 1, 2, 5, 10, 15, 20, or 30 at the end to set the time. Feel free to change anything. Make sure to fill in the fields as needed. Made by KoStone#2642. PLEASE NOTE: If your muterole is higher than the user's highest role this command will not work.

Privateunrated

Content

25 lines
{=(comment)Defining variables.}
{=(muted.role.id):922261677867683840}
{=(time):{if({contains({join():{1}}):1 2 5 10 15 30}==true):{1}|invalid}}
{=(entry):{if({args}!= ):{args}|}}
{=(minute.minutes):{if({time}==1):minute|minutes}}
{=(expires.at):{m:trunc ((60*{time})+{unix})}}

{=(random.color):#{#:A,B,C,D,E,F,0,1,2,3,4,5,6,7,8,9}{#:A,B,C,D,E,F,0,1,2,3,4,5,6,7,8,9}{#:A,B,C,D,E,F,0,1,2,3,4,5,6,7,8,9}{#:A,B,C,D,E,F,0,1,2,3,4,5,6,7,8,9}{#:A,B,C,D,E,F,0,1,2,3,4,5,6,7,8,9}{#:A,B,C,D,E,F,0,1,2,3,4,5,6,7,8,9}}

{=(comment):Embed content.}
{=(embed.title):{if({time}==invalid):<a:alert:783023242620698694> Invalid input!|{if({already.muted}==true):<a:reddot:715186818831614093> You're already muted!|<a:check1:927694014147338250> Success!}}}
{=(embed.description):{if({time}==invalid):Your input of {entry} is invalid.
Accepted inputs: `1`, `2`, `5`, `10`, `15`, `20`, or `30`.|{if({already.muted}==true):{mention}, you're already muted!|{mention}, you have successfully muted yourself for `{time}` {minute.minutes}.
It expires <t:{expires.at}:R>.
(Today at <t:{expires.at}:T>).}}}
{embed(timestamp):now}
{embed(color):{if({time}==invalid):#ff0000|{random.color}}}

{=(comment):The command used to give the role. Please note - if your muterole is not called muted then please change it. If your muterole is higher than a user's highest role this command will not work.}
{if({time}!=invalid):{c: temprole {user(id)} {muted.role.id} {time}m}}

{override}
{silent}
{del} 
{dm}

Embed

1 line
{"color": 5198940, "title": "{embed.title}", "footer": {"text": "https://carl.gg/t/1392520", "icon_url": "{user(icon)}"}, "description": "{embed.description}"}
Raw JSON
{
  "id": 1392520,
  "created_at": "2022-05-02T22:57:55.000Z",
  "tag_name": "selfmute",
  "nsfw": false,
  "owner_id": "734516789396111421",
  "uses": 68,
  "description": "This tag is to mute yourself.\nAdd 1, 2, 5, 10, 15, 20, or 30 at the end to set the time. Feel free to change anything.\nMake sure to fill in the fields as needed.\nMade by KoStone#2642.\nPLEASE NOTE: If your muterole is higher than the user's highest role this command will not work.",
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "922180630698151966",
  "sharer": "734516789396111421",
  "content": "{=(comment)Defining variables.}\n{=(muted.role.id):922261677867683840}\n{=(time):{if({contains({join():{1}}):1 2 5 10 15 30}==true):{1}|invalid}}\n{=(entry):{if({args}!= ):{args}|\u001b}}\n{=(minute.minutes):{if({time}==1):minute|minutes}}\n{=(expires.at):{m:trunc ((60*{time})+{unix})}}\n\n{=(random.color):#{#:A,B,C,D,E,F,0,1,2,3,4,5,6,7,8,9}{#:A,B,C,D,E,F,0,1,2,3,4,5,6,7,8,9}{#:A,B,C,D,E,F,0,1,2,3,4,5,6,7,8,9}{#:A,B,C,D,E,F,0,1,2,3,4,5,6,7,8,9}{#:A,B,C,D,E,F,0,1,2,3,4,5,6,7,8,9}{#:A,B,C,D,E,F,0,1,2,3,4,5,6,7,8,9}}\n\n{=(comment):Embed content.}\n{=(embed.title):{if({time}==invalid):<a:alert:783023242620698694> Invalid input!|{if({already.muted}==true):<a:reddot:715186818831614093> You're already muted!|<a:check1:927694014147338250> Success!}}}\n{=(embed.description):{if({time}==invalid):Your input of {entry} is invalid.\nAccepted inputs: `1`, `2`, `5`, `10`, `15`, `20`, or `30`.|{if({already.muted}==true):{mention}, you're already muted!|{mention}, you have successfully muted yourself for `{time}` {minute.minutes}.\nIt expires <t:{expires.at}:R>.\n(Today at <t:{expires.at}:T>).}}}\n{embed(timestamp):now}\n{embed(color):{if({time}==invalid):#ff0000|{random.color}}}\n\n{=(comment):The command used to give the role. Please note - if your muterole is not called muted then please change it. If your muterole is higher than a user's highest role this command will not work.}\n{if({time}!=invalid):{c: temprole {user(id)} {muted.role.id} {time}m}}\n\n{override}\n{silent}\n{del} \n{dm}",
  "embed": "{\"color\": 5198940, \"title\": \"{embed.title}\", \"footer\": {\"text\": \"https://carl.gg/t/1392520\", \"icon_url\": \"{user(icon)}\"}, \"description\": \"{embed.description}\"}",
  "last_fetched": "2026-10-20T18:47:34.495Z"
}