rule

Privateunrated

Content

199 lines
{=(comment):Change the prefix and tag name to match your server's settings.}
{=(prefix):6}
{=(tagname):rule}
{delete}

{=(comment):
If you would like the tag to always display a link to your rules channel in the description when you are listing rules
Insert the channel id of your rules channel below. Leave completely blank and it will not display.}
{=(ruleschannelid):929208689427111957}

{=(comment):Add, change or remove the embed title here}
{embed(title):}

{=(comment):
Put custom titles in the title1-title25 variables (if you want them).
Put keywords for each rule in the keyword1-keyword25 variables. Not required but useful.

The logic behind keyword detection has changed, LONG keywords are better. If you have "spamming" as the keyword, and do "!rule spam", it will detect it. 

You can provide multiple keywords for each rule IF you do NOT put spaces in between them. Use commas if you feel the need to separate them.

Put rules in the rule1-rule25 variables.
Titles must be less than 256 characters, and rules must be less than 1024 characters.
Some symbols in rule text might cause issues, limit formatting to Discord markdown friendly characters. 
DO NOT USE " or | in rule text.
Leave custom titles blank to have the titles just be "Rule #".
Leave corresponding title, keyword, and rule variables blank if the rule # does not exist, but do NOT erase the blank variables}


{=(title01):**Guideline 1**}
{=(keyword01):discord,tos}
{=(rule01):**Follow** [Discord Guidelines](https://discord.com/guidelines) **and** 
[Discord TOS](https://discord.com/terms)
> *This includes no NSFW, hateful rhetoric, or advertising anywhere in our server. You may not promote in any members' DMs.*}

{=(title02):**Guideline 2**}
{=(keyword02):gfx,nitro,alternate}
{=(rule02):**Common Courtesy.**
> *No alternate accounts, asking for nitro, free gfx, or poaching of any kind!*}

{=(title03):**Guideline 3**}
{=(keyword03):punishments,whining,drama}
{=(rule03):**Avoid drama by all means and listen to Staff!**
> *Questioning punishments, both past and present or whining about server Guidelines/changes/moderation. May result in Staff taking action. Respect everyone here.*}

{=(title04):**Guideline 4**}
{=(keyword04):nice,toxicity}
{=(rule04):**Zero Toxicity Policy!**
> *Engage in conversations with members of our server. You’ll find people are more welcoming when there's small talk instead of toxic behavior.*}

{=(title05):**Guideline 5**}
{=(keyword05):trolling,spamming,copy}
{=(rule05):**Don’t even try!**
> *Any attempt to troll, spam, or type gibberish. May lead to your removal or being muted. This includes but is not limited to: emojis, reactions, single letters/punctuation, or copy pasta.*}

{=(title06):}
{=(keyword06):}
{=(rule06):}

{=(title07):}
{=(keyword07):}
{=(rule07):}

{=(title08):}
{=(keyword08):}
{=(rule08):}

{=(title09):}
{=(keyword09):}
{=(rule09):}

{=(title10):}
{=(keyword10):}
{=(rule10):}

{=(title11):}
{=(keyword11):}
{=(rule11):}

{=(title12):}
{=(keyword12):}
{=(rule12):}

{=(title13):}
{=(keyword13):}
{=(rule13):}

{=(title14):}
{=(keyword14):}
{=(rule14):}

{=(title15):}
{=(keyword15):}
{=(rule15):}

{=(title16):}
{=(keyword16):}
{=(rule16):}

{=(title17):}
{=(keyword17):}
{=(rule17):}

{=(title18):}
{=(keyword18):}
{=(rule18):}

{=(title19):}
{=(keyword19):}
{=(rule19):}

{=(title20):}
{=(keyword20):}
{=(rule20):}

{=(title21):}
{=(keyword21):}
{=(rule21):}

{=(title22):}
{=(keyword22):}
{=(rule22):}

{=(title23):}
{=(keyword23):}
{=(rule23):}

{=(title24):}
{=(keyword24):}
{=(rule24):}

{=(title25):}
{=(keyword25):}
{=(rule25):}

{=(comment):Title overrides, don't touch except to translate "Rule" into a different language}
{=(word4rule):Rule}


{=(comment):Don't change anything below this comment}


{=(t01):{if(!={title01}):{title01}|{word4rule} 1}}
{=(t02):{if(!={title02}):{title02}|{word4rule} 2}}
{=(t03):{if(!={title03}):{title03}|{word4rule} 3}}
{=(t04):{if(!={title04}):{title04}|{word4rule} 4}}
{=(t05):{if(!={title05}):{title05}|{word4rule} 5}}
{=(t06):{if(!={title06}):{title06}|{word4rule} 6}}
{=(t07):{if(!={title07}):{title07}|{word4rule} 7}}
{=(t08):{if(!={title08}):{title08}|{word4rule} 8}}
{=(t09):{if(!={title09}):{title09}|{word4rule} 9}}
{=(t10):{if(!={title10}):{title10}|{word4rule} 10}}
{=(t11):{if(!={title11}):{title11}|{word4rule} 11}}
{=(t12):{if(!={title12}):{title12}|{word4rule} 12}}
{=(t13):{if(!={title13}):{title13}|{word4rule} 13}}
{=(t14):{if(!={title14}):{title14}|{word4rule} 14}}
{=(t15):{if(!={title15}):{title15}|{word4rule} 15}}
{=(t16):{if(!={title16}):{title16}|{word4rule} 16}}
{=(t17):{if(!={title17}):{title17}|{word4rule} 17}}
{=(t18):{if(!={title18}):{title18}|{word4rule} 18}}
{=(t19):{if(!={title19}):{title19}|{word4rule} 19}}
{=(t20):{if(!={title20}):{title20}|{word4rule} 20}}
{=(t21):{if(!={title21}):{title21}|{word4rule} 21}}
{=(t22):{if(!={title22}):{title22}|{word4rule} 22}}
{=(t23):{if(!={title23}):{title23}|{word4rule} 23}}
{=(t24):{if(!={title24}):{title24}|{word4rule} 24}}
{=(t25):{if(!={title25}):{title25}|{word4rule} 25}}

{=(comment):builds the list of rule numbers for rules that are populated}
{=(rules):{if(!={rule01(1)}):01}{if(!={rule02(1)}): 02}{if(!={rule03(1)}): 03}{if(!={rule04(1)}): 04}{if(!={rule05(1)}): 05}{if(!={rule06(1)}): 06}{if(!={rule07(1)}): 07}{if(!={rule08(1)}): 08}{if(!={rule09(1)}): 09}{if(!={rule10(1)}): 10}{if(!={rule11(1)}): 11}{if(!={rule12(1)}): 12}{if(!={rule13(1)}): 13}{if(!={rule14(1)}): 14}{if(!={rule15(1)}): 15}{if(!={rule16(1)}): 16}{if(!={rule17(1)}): 17}{if(!={rule18(1)}): 18}{if(!={rule19(1)}): 19}{if(!={rule20(1)}): 20}{if(!={rule21(1)}): 21}{if(!={rule22(1)}): 22}{if(!={rule23(1)}): 23}{if(!={rule24(1)}): 24}{if(!={rule25(1)}): 25}}

{=(comment):space saving measures that makes the whole thing way harder to read lmao}
{=(r):replace}
{=(ct):contains}

{=(comment):Takes out the first channel mention present in args assuming it is present due to the desire for the rules to be sent to that channel}
{=(sc):{if({in(<#):{args}}==true):{{r}({args({index(<#):{{r}(<#,. <# .):{args}}})},):{args}}|{args}}}
{=(sc):{join( ):{sc}}}

{=(keywords):{if(!={keyword01(1):,}):{keyword01}}{if(!={keyword02(1):,}): {keyword02}}{if(!={keyword03(1):,}): {keyword03}}{if(!={keyword04(1):,}): {keyword04}}{if(!={keyword05(1):,}): {keyword05}}{if(!={keyword06(1):,}): {keyword06}}{if(!={keyword07(1):,}): {keyword07}}{if(!={keyword08(1):,}): {keyword08}}{if(!={keyword09(1):,}): {keyword09}}{if(!={keyword10(1):,}): {keyword10}}{if(!={keyword11(1):,}): {keyword11}}{if(!={keyword12(1):,}): {keyword12}}{if(!={keyword13(1):,}): {keyword13}}{if(!={keyword14(1):,}): {keyword14}}{if(!={keyword15(1):,}): {keyword15}}{if(!={keyword16(1):,}): {keyword16}}{if(!={keyword17(1):,}): {keyword17}}{if(!={keyword18(1):,}): {keyword18}}{if(!={keyword19(1):,}): {keyword19}}{if(!={keyword20(1):,}): {keyword20}}{if(!={keyword21(1):,}): {keyword21}}{if(!={keyword22(1):,}): {keyword22}}{if(!={keyword23(1):,}): {keyword23}}{if(!={keyword24(1):,}): {keyword24}}{if(!={keyword25(1):,}): {keyword25}}}

{=(comment):Checks if the arg present is a keyword, and if it is, changes it to a rule number}
{=(lsc):{lower:{sc}}}
{=(ws):{if(!={lsc(1)}):{if({in({lsc(1)}):{keywords}}==true):{index({lsc(1)}):{{r}({lsc(1)},. {lsc(1)} .):{keywords}}}|{lsc(1)}}|{lsc(1)}}}

{=(comment):adds leading zeros to single digit numbers: adds ~ before and after the {ws} variable, joins with ~, replaces ~#~ with ~0#~, replaces ~ with spaces, then joins to remove leading/trailing spaces}
{=(sani):{join( ):{{r}(~, ):{{r}(~1~,~01~):{{r}(~2~,~02~):{{r}(~3~,~03~):{{r}(~4~,~04~):{{r}(~5~,~05~):{{r}(~6~,~06~):{{r}(~7~,~07~):{{r}(~8~,~08~):{{r}(~9~,~09~):{join(~):~{ws}~}}}}}}}}}}}}}

{=(comment):If the sanitized number does not match a number for a rule that exists, the tag displays the help window}
{=(num):{if({{ct}({sani(1)}):{rules}}==true):{sani(1)}|00}}

{=(t00):Rules Command Instructions}
{=(rule00):Follow `{prefix}{tagname}` with the number or corresponding keyword of the rule you wish to output.

**__{server}'s Keywords:__**
{join(`, `):`{keywords}`}}
{=():}
{{if({in(<#):{args}}==true):redirect:{args({index(<#):{{r}(<#,. <# .):{args}}})}}}
{embed(description):{if(!={ruleschannelid}):<#{ruleschannelid}>}}

Embed

1 line
{"color": 16766720, "fields": [{"name": "​{t{num}}", "value": "​{rule{num}}", "inline": false}], "thumbnail": {"url": "https://i.imgur.com/zShBmuE.png"}}
Raw JSON
{
  "id": 1369849,
  "created_at": "2022-04-26T10:38:40.833Z",
  "tag_name": "rule",
  "nsfw": false,
  "owner_id": "648577665078525992",
  "uses": 17,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "941765799062945872",
  "sharer": "648577665078525992",
  "content": "{=(comment):Change the prefix and tag name to match your server's settings.}\n{=(prefix):6}\n{=(tagname):rule}\n{delete}\n\n{=(comment):\nIf you would like the tag to always display a link to your rules channel in the description when you are listing rules\nInsert the channel id of your rules channel below. Leave completely blank and it will not display.}\n{=(ruleschannelid):929208689427111957}\n\n{=(comment):Add, change or remove the embed title here}\n{embed(title):}\n\n{=(comment):\nPut custom titles in the title1-title25 variables (if you want them).\nPut keywords for each rule in the keyword1-keyword25 variables. Not required but useful.\n\nThe logic behind keyword detection has changed, LONG keywords are better. If you have \"spamming\" as the keyword, and do \"!rule spam\", it will detect it. \n\nYou can provide multiple keywords for each rule IF you do NOT put spaces in between them. Use commas if you feel the need to separate them.\n\nPut rules in the rule1-rule25 variables.\nTitles must be less than 256 characters, and rules must be less than 1024 characters.\nSome symbols in rule text might cause issues, limit formatting to Discord markdown friendly characters. \nDO NOT USE \" or | in rule text.\nLeave custom titles blank to have the titles just be \"Rule #\".\nLeave corresponding title, keyword, and rule variables blank if the rule # does not exist, but do NOT erase the blank variables}\n\n\n{=(title01):**Guideline 1**}\n{=(keyword01):discord,tos}\n{=(rule01):**Follow** [Discord Guidelines](https://discord.com/guidelines) **and** \n[Discord TOS](https://discord.com/terms)\n> *This includes no NSFW, hateful rhetoric, or advertising anywhere in our server. You may not promote in any members' DMs.*}\n\n{=(title02):**Guideline 2**}\n{=(keyword02):gfx,nitro,alternate}\n{=(rule02):**Common Courtesy.**\n> *No alternate accounts, asking for nitro, free gfx, or poaching of any kind!*}\n\n{=(title03):**Guideline 3**}\n{=(keyword03):punishments,whining,drama}\n{=(rule03):**Avoid drama by all means and listen to Staff!**\n> *Questioning punishments, both past and present or whining about server Guidelines/changes/moderation. May result in Staff taking action. Respect everyone here.*}\n\n{=(title04):**Guideline 4**}\n{=(keyword04):nice,toxicity}\n{=(rule04):**Zero Toxicity Policy!**\n> *Engage in conversations with members of our server. You’ll find people are more welcoming when there's small talk instead of toxic behavior.*}\n\n{=(title05):**Guideline 5**}\n{=(keyword05):trolling,spamming,copy}\n{=(rule05):**Don’t even try!**\n> *Any attempt to troll, spam, or type gibberish. May lead to your removal or being muted. This includes but is not limited to: emojis, reactions, single letters/punctuation, or copy pasta.*}\n\n{=(title06):}\n{=(keyword06):}\n{=(rule06):}\n\n{=(title07):}\n{=(keyword07):}\n{=(rule07):}\n\n{=(title08):}\n{=(keyword08):}\n{=(rule08):}\n\n{=(title09):}\n{=(keyword09):}\n{=(rule09):}\n\n{=(title10):}\n{=(keyword10):}\n{=(rule10):}\n\n{=(title11):}\n{=(keyword11):}\n{=(rule11):}\n\n{=(title12):}\n{=(keyword12):}\n{=(rule12):}\n\n{=(title13):}\n{=(keyword13):}\n{=(rule13):}\n\n{=(title14):}\n{=(keyword14):}\n{=(rule14):}\n\n{=(title15):}\n{=(keyword15):}\n{=(rule15):}\n\n{=(title16):}\n{=(keyword16):}\n{=(rule16):}\n\n{=(title17):}\n{=(keyword17):}\n{=(rule17):}\n\n{=(title18):}\n{=(keyword18):}\n{=(rule18):}\n\n{=(title19):}\n{=(keyword19):}\n{=(rule19):}\n\n{=(title20):}\n{=(keyword20):}\n{=(rule20):}\n\n{=(title21):}\n{=(keyword21):}\n{=(rule21):}\n\n{=(title22):}\n{=(keyword22):}\n{=(rule22):}\n\n{=(title23):}\n{=(keyword23):}\n{=(rule23):}\n\n{=(title24):}\n{=(keyword24):}\n{=(rule24):}\n\n{=(title25):}\n{=(keyword25):}\n{=(rule25):}\n\n{=(comment):Title overrides, don't touch except to translate \"Rule\" into a different language}\n{=(word4rule):Rule}\n\n\n{=(comment):Don't change anything below this comment}\n\n\n{=(t01):{if(!={title01}):{title01}|{word4rule} 1}}\n{=(t02):{if(!={title02}):{title02}|{word4rule} 2}}\n{=(t03):{if(!={title03}):{title03}|{word4rule} 3}}\n{=(t04):{if(!={title04}):{title04}|{word4rule} 4}}\n{=(t05):{if(!={title05}):{title05}|{word4rule} 5}}\n{=(t06):{if(!={title06}):{title06}|{word4rule} 6}}\n{=(t07):{if(!={title07}):{title07}|{word4rule} 7}}\n{=(t08):{if(!={title08}):{title08}|{word4rule} 8}}\n{=(t09):{if(!={title09}):{title09}|{word4rule} 9}}\n{=(t10):{if(!={title10}):{title10}|{word4rule} 10}}\n{=(t11):{if(!={title11}):{title11}|{word4rule} 11}}\n{=(t12):{if(!={title12}):{title12}|{word4rule} 12}}\n{=(t13):{if(!={title13}):{title13}|{word4rule} 13}}\n{=(t14):{if(!={title14}):{title14}|{word4rule} 14}}\n{=(t15):{if(!={title15}):{title15}|{word4rule} 15}}\n{=(t16):{if(!={title16}):{title16}|{word4rule} 16}}\n{=(t17):{if(!={title17}):{title17}|{word4rule} 17}}\n{=(t18):{if(!={title18}):{title18}|{word4rule} 18}}\n{=(t19):{if(!={title19}):{title19}|{word4rule} 19}}\n{=(t20):{if(!={title20}):{title20}|{word4rule} 20}}\n{=(t21):{if(!={title21}):{title21}|{word4rule} 21}}\n{=(t22):{if(!={title22}):{title22}|{word4rule} 22}}\n{=(t23):{if(!={title23}):{title23}|{word4rule} 23}}\n{=(t24):{if(!={title24}):{title24}|{word4rule} 24}}\n{=(t25):{if(!={title25}):{title25}|{word4rule} 25}}\n\n{=(comment):builds the list of rule numbers for rules that are populated}\n{=(rules):{if(!={rule01(1)}):01}{if(!={rule02(1)}): 02}{if(!={rule03(1)}): 03}{if(!={rule04(1)}): 04}{if(!={rule05(1)}): 05}{if(!={rule06(1)}): 06}{if(!={rule07(1)}): 07}{if(!={rule08(1)}): 08}{if(!={rule09(1)}): 09}{if(!={rule10(1)}): 10}{if(!={rule11(1)}): 11}{if(!={rule12(1)}): 12}{if(!={rule13(1)}): 13}{if(!={rule14(1)}): 14}{if(!={rule15(1)}): 15}{if(!={rule16(1)}): 16}{if(!={rule17(1)}): 17}{if(!={rule18(1)}): 18}{if(!={rule19(1)}): 19}{if(!={rule20(1)}): 20}{if(!={rule21(1)}): 21}{if(!={rule22(1)}): 22}{if(!={rule23(1)}): 23}{if(!={rule24(1)}): 24}{if(!={rule25(1)}): 25}}\n\n{=(comment):space saving measures that makes the whole thing way harder to read lmao}\n{=(r):replace}\n{=(ct):contains}\n\n{=(comment):Takes out the first channel mention present in args assuming it is present due to the desire for the rules to be sent to that channel}\n{=(sc):{if({in(<#):{args}}==true):{{r}({args({index(<#):{{r}(<#,. <# .):{args}}})},):{args}}|{args}}}\n{=(sc):{join( ):{sc}}}\n\n{=(keywords):{if(!={keyword01(1):,}):{keyword01}}{if(!={keyword02(1):,}): {keyword02}}{if(!={keyword03(1):,}): {keyword03}}{if(!={keyword04(1):,}): {keyword04}}{if(!={keyword05(1):,}): {keyword05}}{if(!={keyword06(1):,}): {keyword06}}{if(!={keyword07(1):,}): {keyword07}}{if(!={keyword08(1):,}): {keyword08}}{if(!={keyword09(1):,}): {keyword09}}{if(!={keyword10(1):,}): {keyword10}}{if(!={keyword11(1):,}): {keyword11}}{if(!={keyword12(1):,}): {keyword12}}{if(!={keyword13(1):,}): {keyword13}}{if(!={keyword14(1):,}): {keyword14}}{if(!={keyword15(1):,}): {keyword15}}{if(!={keyword16(1):,}): {keyword16}}{if(!={keyword17(1):,}): {keyword17}}{if(!={keyword18(1):,}): {keyword18}}{if(!={keyword19(1):,}): {keyword19}}{if(!={keyword20(1):,}): {keyword20}}{if(!={keyword21(1):,}): {keyword21}}{if(!={keyword22(1):,}): {keyword22}}{if(!={keyword23(1):,}): {keyword23}}{if(!={keyword24(1):,}): {keyword24}}{if(!={keyword25(1):,}): {keyword25}}}\n\n{=(comment):Checks if the arg present is a keyword, and if it is, changes it to a rule number}\n{=(lsc):{lower:{sc}}}\n{=(ws):{if(!={lsc(1)}):{if({in({lsc(1)}):{keywords}}==true):{index({lsc(1)}):{{r}({lsc(1)},. {lsc(1)} .):{keywords}}}|{lsc(1)}}|{lsc(1)}}}\n\n{=(comment):adds leading zeros to single digit numbers: adds ~ before and after the {ws} variable, joins with ~, replaces ~#~ with ~0#~, replaces ~ with spaces, then joins to remove leading/trailing spaces}\n{=(sani):{join( ):{{r}(~, ):{{r}(~1~,~01~):{{r}(~2~,~02~):{{r}(~3~,~03~):{{r}(~4~,~04~):{{r}(~5~,~05~):{{r}(~6~,~06~):{{r}(~7~,~07~):{{r}(~8~,~08~):{{r}(~9~,~09~):{join(~):~{ws}~}}}}}}}}}}}}}\n\n{=(comment):If the sanitized number does not match a number for a rule that exists, the tag displays the help window}\n{=(num):{if({{ct}({sani(1)}):{rules}}==true):{sani(1)}|00}}\n\n{=(t00):Rules Command Instructions}\n{=(rule00):Follow `{prefix}{tagname}` with the number or corresponding keyword of the rule you wish to output.\n\n**__{server}'s Keywords:__**\n{join(`, `):`{keywords}`}}\n{=():}\n{{if({in(<#):{args}}==true):redirect:{args({index(<#):{{r}(<#,. <# .):{args}}})}}}\n{embed(description):{if(!={ruleschannelid}):<#{ruleschannelid}>}}",
  "embed": "{\"color\": 16766720, \"fields\": [{\"name\": \"​{t{num}}\", \"value\": \"​{rule{num}}\", \"inline\": false}], \"thumbnail\": {\"url\": \"https://i.imgur.com/zShBmuE.png\"}}",
  "last_fetched": "2026-10-20T18:44:44.508Z"
}