switch

Privateunrated

Content

51 lines
{delete}
{override}
{embed(color):#ff0033}
{=():}
{=(em1):<:HTarget1:955143210563424266>}
{=(em2):<:RedArrowRH:914733124406116382>}
{=(mchat):953216233313026068}
{=(mbot):953216374166126633}
{=(pre):!}
{=(tag):switch}
{=(staff):915017991454859275}
{require:{staff}}
{=(switchon):919892243073093642}

{=(options):status on off + -}
{=(low):{lower:{1}}}
{=(blank):{if({1}==):true|false}}
{=(com):{if({blank}==true):status|{low}}}
{=(comcheck):{in({com}):{options}}}
{=(sub):{if({comcheck}==true):{com}|status}}
{=(valid):{in({sub}):{options}}}

{=(menu):This command allows you to view all members with the invite creation role as well as toggle the role on and off

**INVITE CREATION ROLE: <@&{switchon}>**
```
•Accepts on/off +/- 
•View status with `status` or blank
•Allow time for command to run
•May appear unresponsive at first
•Responds with a completion message
•If you do not receive a completion message within 5 minutes, wait 30 seconds without running any commands and then rerun it
```
{em2}**OPTIONS:** `{options}`
{em2}**COMMAND:** `{pre}{tag} <option>`
{em2}**EXAMPLE:** `{pre}{tag} +`}
{=(t1):{upper:{replace(+,on):{replace(-,off):{sub}}}}}
{=(t2):{replace(+,on):{replace(-,off):{sub}}}}
{=(title):{em1} **__MEMBER INVITE PERMS: {t1}__** {em1}}
{=(desc):{menu}}
{=(footer):{pre}{tag} {t2}⭑{user}}
{=(ping):{if({sub}!=status):<@&{staff}>|{user(mention)}}}
{=(on):role humans {switchon}}
{=(off):role rall {switchon}}
{=(+):role humans {switchon}}
{=(-):role rall {switchon}}
{=(status):dump {switchon} -e}
{=(chan):{if({sub}==status):{mbot}|{mchat}}}
{redirect:{chan}}
{c:{{sub}}}
{ping}

Embed

1 line
{"color": 5198940, "title": "{title}", "footer": {"text": "{footer}"}, "description": "{desc}"}
Raw JSON
{
  "id": 1191754,
  "created_at": "2021-12-13T10:14:56.000Z",
  "tag_name": "switch",
  "nsfw": false,
  "owner_id": "898051496229339186",
  "uses": 121,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "905862480104919080",
  "sharer": "898051496229339186",
  "content": "{delete}\n{override}\n{embed(color):#ff0033}\n{=():}\n{=(em1):<:HTarget1:955143210563424266>}\n{=(em2):<:RedArrowRH:914733124406116382>}\n{=(mchat):953216233313026068}\n{=(mbot):953216374166126633}\n{=(pre):!}\n{=(tag):switch}\n{=(staff):915017991454859275}\n{require:{staff}}\n{=(switchon):919892243073093642}\n\n{=(options):status on off + -}\n{=(low):{lower:{1}}}\n{=(blank):{if({1}==):true|false}}\n{=(com):{if({blank}==true):status|{low}}}\n{=(comcheck):{in({com}):{options}}}\n{=(sub):{if({comcheck}==true):{com}|status}}\n{=(valid):{in({sub}):{options}}}\n\n{=(menu):This command allows you to view all members with the invite creation role as well as toggle the role on and off\n\n**INVITE CREATION ROLE: <@&{switchon}>**\n```\n•Accepts on/off +/- \n•View status with `status` or blank\n•Allow time for command to run\n•May appear unresponsive at first\n•Responds with a completion message\n•If you do not receive a completion message within 5 minutes, wait 30 seconds without running any commands and then rerun it\n```\n{em2}**OPTIONS:** `{options}`\n{em2}**COMMAND:** `{pre}{tag} <option>`\n{em2}**EXAMPLE:** `{pre}{tag} +`}\n{=(t1):{upper:{replace(+,on):{replace(-,off):{sub}}}}}\n{=(t2):{replace(+,on):{replace(-,off):{sub}}}}\n{=(title):{em1} **__MEMBER INVITE PERMS: {t1}__** {em1}}\n{=(desc):{menu}}\n{=(footer):{pre}{tag} {t2}⭑{user}}\n{=(ping):{if({sub}!=status):<@&{staff}>|{user(mention)}}}\n{=(on):role humans {switchon}}\n{=(off):role rall {switchon}}\n{=(+):role humans {switchon}}\n{=(-):role rall {switchon}}\n{=(status):dump {switchon} -e}\n{=(chan):{if({sub}==status):{mbot}|{mchat}}}\n{redirect:{chan}}\n{c:{{sub}}}\n{ping}",
  "embed": "{\"color\": 5198940, \"title\": \"{title}\", \"footer\": {\"text\": \"{footer}\"}, \"description\": \"{desc}\"}",
  "last_fetched": "2026-10-20T18:08:47.810Z"
}