votemute
Read the comments in the tag description. Don't ask me for help. You may improve on this if you like. Don't try to get money for this.
Private
Content
60 lines{=(COMMENT):Created by Archistructure. Co-Author, Editor in Chief: AFK.}
{=():}
{=(COMMENT):Purpose: Community vote-mute. This tag, by default, requires 5 different votes to mute someone, so long as those 5 votes all occur within the same 2 minute period.}
{override}
{silent}
{=(COMMENT):You need x amount of votes in y minutes to mute someone. Below is y minutes.}
{=(nonmuteroleduration):2m}
{=(COMMENT):How often somebody can vote. This should be >= nonmuteroleduration * number of non-mute roles.}
{=(cooldowntime):1h}
{=(COMMENT):You need to make a cooldown role (or use a preexisting one) since we don't have a cooldown block.}
{=(cooldownrole):1242932160034373642}
{=(COMMENT):Change these to roles. Mine are called "Vote Mute 1-4 / 5"}
{=(role1):1301194697091584031}
{=(role2):1301194708101632110}
{=(role3):1301194721636519998}
{=(role4):1301213461602238495}
{=(COMMENT):This is your actual mute role. The previous ones should do nothing.}
{=(muterole):1080252969892724794}
{=(COMMENT): if permanentMute is set to enabled, the mute duration is ignored. Remove enabled from permanentMute to use the duration.}
{=(permanentMute):enabled}
{=(muteduration):24h}
{=(COMMENT): DO NOT MODIFY ANYTHING BELOW UNLESS YOU KNOW WHAT YOU ARE DOING}
{=(permMute):c:role add {target(id)} {muterole}}
{=(tempMute):c:temprole {target(id)} {muteduration} {muterole}}
{=(muteCommand):{{if(enabled=={lower:{permanentMute}}):permMute|tempMute}}}
{=(cooldownCommand):c:temprole {user(id)} {cooldowntime} {cooldownrole}}
{=(checkVotes):{contains({role1}):{target(roleids)}} {contains({role2}):{target(roleids)}} {contains({role3}):{target(roleids)}} {contains({role4}):{target(roleids)}} {contains({muterole}):{target(roleids)}}}
{=(voteRoles):{role1} {role2} {role3} {role4} {muterole}}
{=(nextVote):{m:trunc({index(false):{checkVotes}}+1)}}
{=(remainingVotes):{m:trunc(4-{index(&£):{join( ):{replace(false,):{checkVotes}}} &£})}}
{=(vote):{if(5=={nextVote}):{muteCommand}~msg.muted|c:temprole {target(id)} {nonmuteroleduration} {voteRoles({nextVote})}~msg.voted}}
{=(onCooldown):{contains({cooldownrole}):{user(roleids)}}}
{=(targetMentioned):{contains({target(mention)}):{join():{args}}}}
{=(selfMention):{contains({target(mention)}):{user(mention)}}}
{=(targetMuted):{contains({muterole}):{target(roleids)}}}
{=(checks):{in(false true false false):{onCooldown} {targetMentioned} {selfMention} {targetMuted}}}
{=(msg.muted):**{target}** has been muted by the community.}
{=(msg.voted):**{user}** has voted to community mute **{target}**, {remainingVotes} more votes needed.}
{=(output):{if(true=={checks}):{vote}~{cooldownCommand}}}
{{list(0):{output}}}
{{list(1):{output}}}
{{list(2):{output}}}
{=(error.mention):- **{user}**, you must mention a member to vote for to community mute them!}
{=(error.muted):- **{target}** is already community muted.}
{=(error.cooldown):- You are on cooldown and cannot community vote to mute.}
{{any(false=={targetMentioned}|true=={selfMention}):error.mention|{if(true=={targetMuted}):error.muted|{if(true=={onCooldown}):error.cooldown}}}}
Use of the Vote-Mute command is logged and mutes for any reason other than rule breaks is an instant-ban.Raw JSON
{
"id": 2142587,
"created_at": "2024-10-30T16:12:14.000Z",
"tag_name": "votemute",
"nsfw": false,
"owner_id": "1131306868321562664",
"uses": 7,
"description": "Read the comments in the tag description. Don't ask me for help. You may improve on this if you like. Don't try to get money for this.",
"restricted": false,
"shared": false,
"deleted": false,
"safe": "",
"hidden": false,
"guild_id": "1080252969892724787",
"sharer": "1131306868321562664",
"content": "{=(COMMENT):Created by Archistructure. Co-Author, Editor in Chief: AFK.}\n{=():}\n{=(COMMENT):Purpose: Community vote-mute. This tag, by default, requires 5 different votes to mute someone, so long as those 5 votes all occur within the same 2 minute period.}\n{override}\n{silent}\n\n{=(COMMENT):You need x amount of votes in y minutes to mute someone. Below is y minutes.}\n{=(nonmuteroleduration):2m}\n\n{=(COMMENT):How often somebody can vote. This should be >= nonmuteroleduration * number of non-mute roles.}\n{=(cooldowntime):1h}\n{=(COMMENT):You need to make a cooldown role (or use a preexisting one) since we don't have a cooldown block.}\n{=(cooldownrole):1242932160034373642}\n\n{=(COMMENT):Change these to roles. Mine are called \"Vote Mute 1-4 / 5\"}\n{=(role1):1301194697091584031}\n{=(role2):1301194708101632110}\n{=(role3):1301194721636519998}\n{=(role4):1301213461602238495}\n{=(COMMENT):This is your actual mute role. The previous ones should do nothing.}\n{=(muterole):1080252969892724794}\n\n{=(COMMENT): if permanentMute is set to enabled, the mute duration is ignored. Remove enabled from permanentMute to use the duration.}\n{=(permanentMute):enabled}\n{=(muteduration):24h}\n\n{=(COMMENT): DO NOT MODIFY ANYTHING BELOW UNLESS YOU KNOW WHAT YOU ARE DOING}\n{=(permMute):c:role add {target(id)} {muterole}}\n{=(tempMute):c:temprole {target(id)} {muteduration} {muterole}}\n{=(muteCommand):{{if(enabled=={lower:{permanentMute}}):permMute|tempMute}}}\n{=(cooldownCommand):c:temprole {user(id)} {cooldowntime} {cooldownrole}}\n\n{=(checkVotes):{contains({role1}):{target(roleids)}} {contains({role2}):{target(roleids)}} {contains({role3}):{target(roleids)}} {contains({role4}):{target(roleids)}} {contains({muterole}):{target(roleids)}}}\n{=(voteRoles):{role1} {role2} {role3} {role4} {muterole}}\n{=(nextVote):{m:trunc({index(false):{checkVotes}}+1)}}\n{=(remainingVotes):{m:trunc(4-{index(&£):{join( ):{replace(false,):{checkVotes}}} &£})}}\n{=(vote):{if(5=={nextVote}):{muteCommand}~msg.muted|c:temprole {target(id)} {nonmuteroleduration} {voteRoles({nextVote})}~msg.voted}}\n\n{=(onCooldown):{contains({cooldownrole}):{user(roleids)}}}\n{=(targetMentioned):{contains({target(mention)}):{join():{args}}}}\n{=(selfMention):{contains({target(mention)}):{user(mention)}}}\n{=(targetMuted):{contains({muterole}):{target(roleids)}}}\n\n{=(checks):{in(false true false false):{onCooldown} {targetMentioned} {selfMention} {targetMuted}}}\n\n{=(msg.muted):**{target}** has been muted by the community.}\n{=(msg.voted):**{user}** has voted to community mute **{target}**, {remainingVotes} more votes needed.}\n\n{=(output):{if(true=={checks}):{vote}~{cooldownCommand}}}\n{{list(0):{output}}}\n{{list(1):{output}}}\n{{list(2):{output}}}\n\n{=(error.mention):- **{user}**, you must mention a member to vote for to community mute them!}\n{=(error.muted):- **{target}** is already community muted.}\n{=(error.cooldown):- You are on cooldown and cannot community vote to mute.}\n\n{{any(false=={targetMentioned}|true=={selfMention}):error.mention|{if(true=={targetMuted}):error.muted|{if(true=={onCooldown}):error.cooldown}}}}\n\nUse of the Vote-Mute command is logged and mutes for any reason other than rule breaks is an instant-ban.",
"embed": "{}",
"last_fetched": "2026-10-20T19:46:25.837Z"
}