rules

Privateunrated

Content

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

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

{=(comment):Put custom titles in the title1-title25 variables (if you want them).}
{=(comment):Put keywords for each rule in the keyword1-keyword25 variables. Not required but useful.}
{=(comment):Put rules in the rule1-rule25 variables.}
{=(comment):Titles must be less than 256 characters, and rules must be less than 1024 characters.}
{=(comment):Some symbols in rule text might cause issues, limit formatting to Discord markdown friendly characters.}
{=(comment):Leave custom titles blank to have the titles just be "Rule #".}
{=(comment):Leave corresponding title, keyword, and rule variables blank if the rule # does not exist, but do NOT erase the blank variables}

{=(title01):}
{=(keyword01):terms}
{=(rule01):We follow Discord's TOS and community guidelines, and we expect everybody else to do as well.}

{=(title02):}
{=(keyword02):target}
{=(rule02):Do not target anyone by bullying, catfishing, harassing, trolling them or behaving in other toxic ways. Do not be sarcastic, sardonic, cynic, etc. towards anyone if they do not know you well enough. We have a safeword, SOS. If you send this within server grounds, you will immediately alert the staff team. Do not abuse this feature.}

{=(title03):}
{=(keyword03):consent}
{=(rule03):Gain explicit consent before sharing, saving, distributing or using anyone's content. Be aware of everybody's assigned DM role before sending DMs and FRs. + means yes, ? means ask and - means no. Ask in #bots to DM a user.}

{=(title04):}
{=(keyword04):identity}
{=(rule04):We expect everyone to assign a few roles for the sake of showing identity. Must have at least one pronoun, region and DM preference role.}

{=(title05):}
{=(keyword05):spam}
{=(rule05):Abide by the channel descriptions and avoid posting things that do not belong in them. If you are unsure what can be shared in which channel, you are welcome to ask by sending a DM to modmail.}

{=(title06):}
{=(keyword06):modmail}
{=(rule06):In general, if you have a question, submission, inquiry, report, etc., please use modmail. Do not abuse this feature.}

{=(title07):}
{=(keyword07):logging}
{=(rule07):We log and store information about everything you do in the server, as well as a few other things from your Discord account as listed below. If you are not comfortable with this, you must leave.
• account age
• avatar/name changes
• joins, leaves
• latest usernames
• message edits
• punishments with reasons
• role assignments
• sent Discord invites}

{=(title08):Content Policy - prohibited}
{=(keyword08):prohibit}
{=(rule08):• Non-verified members are not allowed to participate in channels marked as NSFW.
• Non-regular verified members are not allowed to share in the original channel.
• Do not share anything about minors, including child/loli/shota/furry-cub porn. Verified members are allowed to post childhood pictures.
• Do not share disturbing imagery such as bestiality, birthing, gore, guro, prolapse, self-harm, snuff, suicide and vore.
• Do not share imagery including the following kinks: feederism, fire play, needle play, race play, suture play and toilet play.
• Do not make use of slurs, hate speech, trolling, seizure-inducing imagery, generally toxicity.
• Do not make use of catfishing, revenge porn, generally public humiliation.}

{=(title09):Content Policy - permitted}
{=(keyword09):permit}
{=(rule09):• Ab/dl, age play, age regression, cgl
• Anal play, pegging, rimming
• Animal play, pet play, primal play
• Bondage, restraints, shibari
• Breast torture
• Breeding, lactation
• Collaring, collar and leash, master/slave, owner/pet
• Discipline
• Dominance/submission
• Drug play
• Edge play: Blood play, branding, breath play, emotional play, fear play, fisting, fluid exchange, humiliation, knife play, gun play
Exhibitionism/voyeurism
• Fantasy branding, dub-con, incest, public use, rape play, sex slavery
• Fluid exchange
• Food play
• Free use, glory hole
• Furry, futanari, humanoid monsters, tentacles, transformation
• Hypnosis, brainwashing, conditioning
• Ice play, sensation play, temperature play, wax play
• Mental bondage, mind play, psychological play
• Micro/macro
• Role play
• Sensory deprivation, gagging, blindfolding, etc.
• Sadomasochism, impact play, caning, flogging, slapping, spanking, whipping, etc.
• Scent play, tickling, voice play
• Sleep play
• Sounding
• Total power exchange
• Watersports
• Wetting}

{=(title10):Punishments}
{=(keyword10):punish}
{=(rule10):grounds for banning

(rule o1) Failure to abide by Discord's terms of service. = ban
(rule o2) Behaving toxic within server grounds and between DMs with other members. = mute
(rule o3) Disregarding copyright laws. = ban
(rule o4) Failure to fulfill our role requirement. = kick
(rule o5) Spamming, disregarding channel descriptions. = mute
(rule o6) Being disruptive when using modmail. = warn
(rule o7) Complaining about our logging system. = ban
Breaking content policy. = ban}

{=(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}
{=(wordforrule):Rule}
{=(comment):Don't touch}
{=(t01):{if({title01}!=):{title01}|{wordforrule} 1}}
{=(t02):{if({title02}!=):{title02}|{wordforrule} 2}}
{=(t03):{if({title03}!=):{title03}|{wordforrule} 3}}
{=(t04):{if({title04}!=):{title04}|{wordforrule} 4}}
{=(t05):{if({title05}!=):{title05}|{wordforrule} 5}}
{=(t06):{if({title06}!=):{title06}|{wordforrule} 6}}
{=(t07):{if({title07}!=):{title07}|{wordforrule} 7}}
{=(t08):{if({title08}!=):{title08}|{wordforrule} 8}}
{=(t09):{if({title09}!=):{title09}|{wordforrule} 9}}
{=(t10):{if({title10}!=):{title10}|{wordforrule} 10}}
{=(t11):{if({title11}!=):{title11}|{wordforrule} 11}}
{=(t12):{if({title12}!=):{title12}|{wordforrule} 12}}
{=(t13):{if({title13}!=):{title13}|{wordforrule} 13}}
{=(t14):{if({title14}!=):{title14}|{wordforrule} 14}}
{=(t15):{if({title15}!=):{title15}|{wordforrule} 15}}
{=(t16):{if({title16}!=):{title16}|{wordforrule} 16}}
{=(t17):{if({title17}!=):{title17}|{wordforrule} 17}}
{=(t18):{if({title18}!=):{title18}|{wordforrule} 18}}
{=(t19):{if({title19}!=):{title19}|{wordforrule} 19}}
{=(t20):{if({title20}!=):{title20}|{wordforrule} 20}}
{=(t21):{if({title21}!=):{title21}|{wordforrule} 21}}
{=(t22):{if({title22}!=):{title22}|{wordforrule} 22}}
{=(t23):{if({title23}!=):{title23}|{wordforrule} 23}}
{=(t24):{if({title24}!=):{title24}|{wordforrule} 24}}
{=(t25):{if({title25}!=):{title25}|{wordforrule} 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):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}
{=(sanschan):{if({in(<#):{args}}==true):{replace({args({index(<#):{replace(<#,. <# .):{args}}})},):{args}}|{args}}}

{=(comment):DON'T TOUCH, converts keywords into rule numbers}
{=(wordswap):{lower:{sanschan}}}
{=(wordswap):{if({keyword01}!=):{if({in({keyword01}):{wordswap}}==true):{replace({wordswap({index({keyword01}):{replace({keyword01},. {keyword01} .):{wordswap}}})},01):{wordswap}}|{wordswap}}|{wordswap}}}
{=(wordswap):{if({keyword02}!=):{if({in({keyword02}):{wordswap}}==true):{replace({wordswap({index({keyword02}):{replace({keyword02},. {keyword02} .):{wordswap}}})},02):{wordswap}}|{wordswap}}|{wordswap}}}
{=(wordswap):{if({keyword03}!=):{if({in({keyword03}):{wordswap}}==true):{replace({wordswap({index({keyword03}):{replace({keyword03},. {keyword03} .):{wordswap}}})},03):{wordswap}}|{wordswap}}|{wordswap}}}
{=(wordswap):{if({keyword04}!=):{if({in({keyword04}):{wordswap}}==true):{replace({wordswap({index({keyword04}):{replace({keyword04},. {keyword04} .):{wordswap}}})},04):{wordswap}}|{wordswap}}|{wordswap}}}
{=(wordswap):{if({keyword05}!=):{if({in({keyword05}):{wordswap}}==true):{replace({wordswap({index({keyword05}):{replace({keyword05},. {keyword05} .):{wordswap}}})},05):{wordswap}}|{wordswap}}|{wordswap}}}
{=(wordswap):{if({keyword06}!=):{if({in({keyword06}):{wordswap}}==true):{replace({wordswap({index({keyword06}):{replace({keyword06},. {keyword06} .):{wordswap}}})},06):{wordswap}}|{wordswap}}|{wordswap}}}
{=(wordswap):{if({keyword07}!=):{if({in({keyword07}):{wordswap}}==true):{replace({wordswap({index({keyword07}):{replace({keyword07},. {keyword07} .):{wordswap}}})},07):{wordswap}}|{wordswap}}|{wordswap}}}
{=(wordswap):{if({keyword08}!=):{if({in({keyword08}):{wordswap}}==true):{replace({wordswap({index({keyword08}):{replace({keyword08},. {keyword08} .):{wordswap}}})},08):{wordswap}}|{wordswap}}|{wordswap}}}
{=(wordswap):{if({keyword09}!=):{if({in({keyword09}):{wordswap}}==true):{replace({wordswap({index({keyword09}):{replace({keyword09},. {keyword09} .):{wordswap}}})},09):{wordswap}}|{wordswap}}|{wordswap}}}
{=(wordswap):{if({keyword10}!=):{if({in({keyword10}):{wordswap}}==true):{replace({wordswap({index({keyword10}):{replace({keyword10},. {keyword10} .):{wordswap}}})},10):{wordswap}}|{wordswap}}|{wordswap}}}
{=(wordswap):{if({keyword11}!=):{if({in({keyword11}):{wordswap}}==true):{replace({wordswap({index({keyword11}):{replace({keyword11},. {keyword11} .):{wordswap}}})},11):{wordswap}}|{wordswap}}|{wordswap}}}
{=(wordswap):{if({keyword12}!=):{if({in({keyword12}):{wordswap}}==true):{replace({wordswap({index({keyword12}):{replace({keyword12},. {keyword12} .):{wordswap}}})},12):{wordswap}}|{wordswap}}|{wordswap}}}
{=(wordswap):{if({keyword13}!=):{if({in({keyword13}):{wordswap}}==true):{replace({wordswap({index({keyword13}):{replace({keyword13},. {keyword13} .):{wordswap}}})},13):{wordswap}}|{wordswap}}|{wordswap}}}
{=(wordswap):{if({keyword14}!=):{if({in({keyword14}):{wordswap}}==true):{replace({wordswap({index({keyword14}):{replace({keyword14},. {keyword14} .):{wordswap}}})},14):{wordswap}}|{wordswap}}|{wordswap}}}
{=(wordswap):{if({keyword15}!=):{if({in({keyword15}):{wordswap}}==true):{replace({wordswap({index({keyword15}):{replace({keyword15},. {keyword15} .):{wordswap}}})},15):{wordswap}}|{wordswap}}|{wordswap}}}
{=(wordswap):{if({keyword16}!=):{if({in({keyword16}):{wordswap}}==true):{replace({wordswap({index({keyword16}):{replace({keyword16},. {keyword16} .):{wordswap}}})},16):{wordswap}}|{wordswap}}|{wordswap}}}
{=(wordswap):{if({keyword17}!=):{if({in({keyword17}):{wordswap}}==true):{replace({wordswap({index({keyword17}):{replace({keyword17},. {keyword17} .):{wordswap}}})},17):{wordswap}}|{wordswap}}|{wordswap}}}
{=(wordswap):{if({keyword18}!=):{if({in({keyword18}):{wordswap}}==true):{replace({wordswap({index({keyword18}):{replace({keyword18},. {keyword18} .):{wordswap}}})},18):{wordswap}}|{wordswap}}|{wordswap}}}
{=(wordswap):{if({keyword19}!=):{if({in({keyword19}):{wordswap}}==true):{replace({wordswap({index({keyword19}):{replace({keyword19},. {keyword19} .):{wordswap}}})},19):{wordswap}}|{wordswap}}|{wordswap}}}
{=(wordswap):{if({keyword20}!=):{if({in({keyword20}):{wordswap}}==true):{replace({wordswap({index({keyword20}):{replace({keyword20},. {keyword20} .):{wordswap}}})},20):{wordswap}}|{wordswap}}|{wordswap}}}
{=(wordswap):{if({keyword21}!=):{if({in({keyword21}):{wordswap}}==true):{replace({wordswap({index({keyword21}):{replace({keyword21},. {keyword21} .):{wordswap}}})},21):{wordswap}}|{wordswap}}|{wordswap}}}
{=(wordswap):{if({keyword22}!=):{if({in({keyword22}):{wordswap}}==true):{replace({wordswap({index({keyword22}):{replace({keyword22},. {keyword22} .):{wordswap}}})},22):{wordswap}}|{wordswap}}|{wordswap}}}
{=(wordswap):{if({keyword23}!=):{if({in({keyword23}):{wordswap}}==true):{replace({wordswap({index({keyword23}):{replace({keyword23},. {keyword23} .):{wordswap}}})},23):{wordswap}}|{wordswap}}|{wordswap}}}
{=(wordswap):{if({keyword24}!=):{if({in({keyword24}):{wordswap}}==true):{replace({wordswap({index({keyword24}):{replace({keyword24},. {keyword24} .):{wordswap}}})},24):{wordswap}}|{wordswap}}|{wordswap}}}
{=(wordswap):{if({keyword25}!=):{if({in({keyword25}):{wordswap}}==true):{replace({wordswap({index({keyword25}):{replace({keyword25},. {keyword25} .):{wordswap}}})},25):{wordswap}}|{wordswap}}|{wordswap}}}

{=(comment):adds leading zeros to single digit numbers: spaces symbols, replaces spaces with ~, replaces ~#~ with ~0#~, replaces ~ with spaces, de-spaces symbols}
{=(sani):{replace( - ,-):{replace( + ,+):{replace(~, ):{replace(~1~,~01~):{replace(~2~,~02~):{replace(~3~,~03~):{replace(~4~,~04~):{replace(~5~,~05~):{replace(~6~,~06~):{replace(~7~,~07~):{replace(~8~,~08~):{replace(~9~,~09~):{replace( ,~):{replace(-, - ):{replace(+, + ):~{wordswap}~}}}}}}}}}}}}}}}}

{=(comment):DON'T TOUCH, replaces - and + with the rule numbers from the list they represent}
{=(dash1):{sani(1):-}}
{=(dash2):{sani(2):-}}
{=(dash):{if({in(-):{sani}}==true):{dash1}{replace({rules(+{m:trunc(1+{index({dash1(0)}):{rules}})})},):{replace({rules({m:trunc(1+{index({dash2(1)}):{rules}})}+)},):{rules}}}{dash2}|{sani}}}
{=(plus1):{dash(1):+}}
{=(plus2):{dash(2):+}}
{=(plus3):{dash(3):+}}
{=(plus):{if({in(+):{dash}}==true):{if({plus1}!=):{if({plus1(+-1)}!=):{plus1(+-1)} }{rules({m:trunc(1+{index({plus1(0)}):{rules}})}+)} }{if({plus2}!=):{rules(+{m:trunc(1+{index({plus2(1)}):{rules}})})} {if({plus2(2+)}!=):{plus2(2+)} }}{if({plus3}==):{rules({m:trunc({index({plus2(0)}):{rules}}+2)}+)}|{rules(+{m:trunc(1+{index({plus3(1)}):{rules}})})} {if({plus3(2+)}!=):{plus3(2+)}}}|{dash}}}

{=(comment):rebuilds input list based on inclusion in rule list, while preventing duplicates. if rawlist entity 0-24 is not empty, is in the rules variable which is autopopulated, and is not already present in the new number list, said rawlist entity is added to num}
{=(rawlist):{join(,):{plus}}}
{=(num):}
{=(num):{num}{all({list(0):{rawlist}}!=|{contains({list(0):{rawlist}}):{rules}}==true|{contains({list(0):{rawlist}}):{num}}==false):{list(0):{rawlist}} }}
{=(num):{num}{all({list(1):{rawlist}}!=|{contains({list(1):{rawlist}}):{rules}}==true|{contains({list(1):{rawlist}}):{num}}==false):{list(1):{rawlist}} }}
{=(num):{num}{all({list(2):{rawlist}}!=|{contains({list(2):{rawlist}}):{rules}}==true|{contains({list(2):{rawlist}}):{num}}==false):{list(2):{rawlist}} }}
{=(num):{num}{all({list(3):{rawlist}}!=|{contains({list(3):{rawlist}}):{rules}}==true|{contains({list(3):{rawlist}}):{num}}==false):{list(3):{rawlist}} }}
{=(num):{num}{all({list(4):{rawlist}}!=|{contains({list(4):{rawlist}}):{rules}}==true|{contains({list(4):{rawlist}}):{num}}==false):{list(4):{rawlist}} }}
{=(num):{num}{all({list(5):{rawlist}}!=|{contains({list(5):{rawlist}}):{rules}}==true|{contains({list(5):{rawlist}}):{num}}==false):{list(5):{rawlist}} }}
{=(num):{num}{all({list(6):{rawlist}}!=|{contains({list(6):{rawlist}}):{rules}}==true|{contains({list(6):{rawlist}}):{num}}==false):{list(6):{rawlist}} }}
{=(num):{num}{all({list(7):{rawlist}}!=|{contains({list(7):{rawlist}}):{rules}}==true|{contains({list(7):{rawlist}}):{num}}==false):{list(7):{rawlist}} }}
{=(num):{num}{all({list(8):{rawlist}}!=|{contains({list(8):{rawlist}}):{rules}}==true|{contains({list(8):{rawlist}}):{num}}==false):{list(8):{rawlist}} }}
{=(num):{num}{all({list(9):{rawlist}}!=|{contains({list(9):{rawlist}}):{rules}}==true|{contains({list(9):{rawlist}}):{num}}==false):{list(9):{rawlist}} }}
{=(num):{num}{all({list(10):{rawlist}}!=|{contains({list(10):{rawlist}}):{rules}}==true|{contains({list(10):{rawlist}}):{num}}==false):{list(10):{rawlist}} }}
{=(num):{num}{all({list(11):{rawlist}}!=|{contains({list(11):{rawlist}}):{rules}}==true|{contains({list(11):{rawlist}}):{num}}==false):{list(11):{rawlist}} }}
{=(num):{num}{all({list(12):{rawlist}}!=|{contains({list(12):{rawlist}}):{rules}}==true|{contains({list(12):{rawlist}}):{num}}==false):{list(12):{rawlist}} }}
{=(num):{num}{all({list(13):{rawlist}}!=|{contains({list(13):{rawlist}}):{rules}}==true|{contains({list(13):{rawlist}}):{num}}==false):{list(13):{rawlist}} }}
{=(num):{num}{all({list(14):{rawlist}}!=|{contains({list(14):{rawlist}}):{rules}}==true|{contains({list(14):{rawlist}}):{num}}==false):{list(14):{rawlist}} }}
{=(num):{num}{all({list(15):{rawlist}}!=|{contains({list(15):{rawlist}}):{rules}}==true|{contains({list(15):{rawlist}}):{num}}==false):{list(15):{rawlist}} }}
{=(num):{num}{all({list(16):{rawlist}}!=|{contains({list(16):{rawlist}}):{rules}}==true|{contains({list(16):{rawlist}}):{num}}==false):{list(16):{rawlist}} }}
{=(num):{num}{all({list(17):{rawlist}}!=|{contains({list(17):{rawlist}}):{rules}}==true|{contains({list(17):{rawlist}}):{num}}==false):{list(17):{rawlist}} }}
{=(num):{num}{all({list(18):{rawlist}}!=|{contains({list(18):{rawlist}}):{rules}}==true|{contains({list(18):{rawlist}}):{num}}==false):{list(18):{rawlist}} }}
{=(num):{num}{all({list(19):{rawlist}}!=|{contains({list(19):{rawlist}}):{rules}}==true|{contains({list(19):{rawlist}}):{num}}==false):{list(19):{rawlist}} }}
{=(num):{num}{all({list(20):{rawlist}}!=|{contains({list(20):{rawlist}}):{rules}}==true|{contains({list(20):{rawlist}}):{num}}==false):{list(20):{rawlist}} }}
{=(num):{num}{all({list(21):{rawlist}}!=|{contains({list(21):{rawlist}}):{rules}}==true|{contains({list(21):{rawlist}}):{num}}==false):{list(21):{rawlist}} }}
{=(num):{num}{all({list(22):{rawlist}}!=|{contains({list(22):{rawlist}}):{rules}}==true|{contains({list(22):{rawlist}}):{num}}==false):{list(22):{rawlist}} }}
{=(num):{num}{all({list(23):{rawlist}}!=|{contains({list(23):{rawlist}}):{rules}}==true|{contains({list(23):{rawlist}}):{num}}==false):{list(23):{rawlist}} }}
{=(num):{num}{all({list(24):{rawlist}}!=|{contains({list(24):{rawlist}}):{rules}}==true|{contains({list(24):{rawlist}}):{num}}==false):{list(24):{rawlist}}}}

{=(comment):The following tests to see if args are empty, or if help or keyword are present, or if the input failed to generate a shortened list of rules, and if so, sets the rule numbers to the full list of rules}
{=(largs):{lower:{args}}}
{=(num):{any({largs(1)}==|{all({in(help):{largs}}==false|{in(keyword):{largs}}==false|{num}==):true|false}==true):{join(,):{rules}}|{join(,):{num}}}}

{=(comment):Embed field generation for rule output, don't touch. ┐ = comma placeholder character}
{=(ilf):,"inline":false}
{=(cfields):{if({list(0):{num}}!=):{"name":"{t{list(0):{num}}}","value":"{rule{list(0):{num}}}"{ilf}}}┐{if({list(1):{num}}!=):{"name":"{t{list(1):{num}}}","value":"{rule{list(1):{num}}}"{ilf}}}┐{if({list(2):{num}}!=):{"name":"{t{list(2):{num}}}","value":"{rule{list(2):{num}}}"{ilf}}}┐{if({list(3):{num}}!=):{"name":"{t{list(3):{num}}}","value":"{rule{list(3):{num}}}"{ilf}}}┐{if({list(4):{num}}!=):{"name":"{t{list(4):{num}}}","value":"{rule{list(4):{num}}}"{ilf}}}┐{if({list(5):{num}}!=):{"name":"{t{list(5):{num}}}","value":"{rule{list(5):{num}}}"{ilf}}}┐{if({list(6):{num}}!=):{"name":"{t{list(6):{num}}}","value":"{rule{list(6):{num}}}"{ilf}}}┐{if({list(7):{num}}!=):{"name":"{t{list(7):{num}}}","value":"{rule{list(7):{num}}}"{ilf}}}┐{if({list(8):{num}}!=):{"name":"{t{list(8):{num}}}","value":"{rule{list(8):{num}}}"{ilf}}}┐{if({list(9):{num}}!=):{"name":"{t{list(9):{num}}}","value":"{rule{list(9):{num}}}"{ilf}}}┐{if({list(10):{num}}!=):{"name":"{t{list(10):{num}}}","value":"{rule{list(10):{num}}}"{ilf}}}┐{if({list(11):{num}}!=):{"name":"{t{list(11):{num}}}","value":"{rule{list(11):{num}}}"{ilf}}}┐{if({list(12):{num}}!=):{"name":"{t{list(12):{num}}}","value":"{rule{list(12):{num}}}"{ilf}}}┐{if({list(13):{num}}!=):{"name":"{t{list(13):{num}}}","value":"{rule{list(13):{num}}}"{ilf}}}┐{if({list(14):{num}}!=):{"name":"{t{list(14):{num}}}","value":"{rule{list(14):{num}}}"{ilf}}}┐{if({list(15):{num}}!=):{"name":"{t{list(15):{num}}}","value":"{rule{list(15):{num}}}"{ilf}}}┐{if({list(16):{num}}!=):{"name":"{t{list(16):{num}}}","value":"{rule{list(16):{num}}}"{ilf}}}┐{if({list(17):{num}}!=):{"name":"{t{list(17):{num}}}","value":"{rule{list(17):{num}}}"{ilf}}}┐{if({list(18):{num}}!=):{"name":"{t{list(18):{num}}}","value":"{rule{list(18):{num}}}"{ilf}}}┐{if({list(19):{num}}!=):{"name":"{t{list(19):{num}}}","value":"{rule{list(19):{num}}}"{ilf}}}┐{if({list(20):{num}}!=):{"name":"{t{list(20):{num}}}","value":"{rule{list(20):{num}}}"{ilf}}}┐{if({list(21):{num}}!=):{"name":"{t{list(21):{num}}}","value":"{rule{list(21):{num}}}"{ilf}}}┐{if({list(22):{num}}!=):{"name":"{t{list(22):{num}}}","value":"{rule{list(22):{num}}}"{ilf}}}┐{if({list(23):{num}}!=):{"name":"{t{list(23):{num}}}","value":"{rule{list(23):{num}}}"{ilf}}}┐{if({list(24):{num}}!=):{"name":"{t{list(24):{num}}}","value":"{rule{list(24):{num}}}"{ilf}}}}

{=(comment):different description holding variables}
{=(instr):__Instructions__
Follow the command with the number(s) of the rules you wish to output with spaces in between. Additional accepted formats are:
#*x*-#*y* to indicate rules from #*x* to #*y* (limit 1x`-`)
#+ to indicate rules from # to the end of the list of rules
+# to indicate rules from 1 to # (limit 2x`+`)
You can also mix in keywords that have been set (don't mix keywords and symbols).
Examples: `!rules +2 nsfw 4-6 8+` }

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

{=(comment):Embed fields}
{=(footer):Type \"!rules help\" for instructions, and \"!rules keywords\" for the list of reference keywords.}
{=(des):{if({in(help):{largs}}==true):{instr}|{if({in(keyword):{largs}}==true):{kw}|{if({ruleschannelid}!=):{ruleschannelid}}}}}

{=(comment):finalizes the json for the embed by replacing spaces with a filler character, replacing comma placeholder characters with spaces, joining the spaces with commas, and replacing the filler characters with spaces again. this ensures there are no commas preceeding JSON fields, nor trailing the last JSON field. also includes logic choosing whether to display the full rules list (if args or the input number list are empty AND help/keyword are not displayed) or the custom rules list}
{=(json):"title":"{embedtitle}","description":"{des}","fields":[{replace(█, ):{join(,):{replace(┐, ):{replace( ,█):{cfields}}}}}],"author":{"name":"{server}","icon_url":"{server(icon)}"},"color":3092790,"footer":{"text":"{footer}"}}

{c:cembed {if({in(<#):{args}}==true):{args({index(<#):{replace(<#,. <# .):{args}}})}|{channel(id)}} {{json}}}
Raw JSON
{
  "id": 137822,
  "created_at": "2020-03-23T18:54:03.000Z",
  "tag_name": "rules",
  "nsfw": false,
  "owner_id": "262558436279975937",
  "uses": 6,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "671060028349743114",
  "sharer": "262558436279975937",
  "content": "{=(comment):If you would like the tag to always display a link to your rules channel in the description when you are listing rules}\n{=(comment):Insert the channel id of your rules channel below. Leave completely blank and it will not display.}\n{=(ruleschannelid):https://bit.ly/2Yvjgvf}\n\n{=(comment):Add, change or remove the embed title here}\n{=(embedtitle):}\n\n{=(comment):Put custom titles in the title1-title25 variables (if you want them).}\n{=(comment):Put keywords for each rule in the keyword1-keyword25 variables. Not required but useful.}\n{=(comment):Put rules in the rule1-rule25 variables.}\n{=(comment):Titles must be less than 256 characters, and rules must be less than 1024 characters.}\n{=(comment):Some symbols in rule text might cause issues, limit formatting to Discord markdown friendly characters.}\n{=(comment):Leave custom titles blank to have the titles just be \"Rule #\".}\n{=(comment):Leave corresponding title, keyword, and rule variables blank if the rule # does not exist, but do NOT erase the blank variables}\n\n{=(title01):}\n{=(keyword01):terms}\n{=(rule01):We follow Discord's TOS and community guidelines, and we expect everybody else to do as well.}\n\n{=(title02):}\n{=(keyword02):target}\n{=(rule02):Do not target anyone by bullying, catfishing, harassing, trolling them or behaving in other toxic ways. Do not be sarcastic, sardonic, cynic, etc. towards anyone if they do not know you well enough. We have a safeword, SOS. If you send this within server grounds, you will immediately alert the staff team. Do not abuse this feature.}\n\n{=(title03):}\n{=(keyword03):consent}\n{=(rule03):Gain explicit consent before sharing, saving, distributing or using anyone's content. Be aware of everybody's assigned DM role before sending DMs and FRs. + means yes, ? means ask and - means no. Ask in #bots to DM a user.}\n\n{=(title04):}\n{=(keyword04):identity}\n{=(rule04):We expect everyone to assign a few roles for the sake of showing identity. Must have at least one pronoun, region and DM preference role.}\n\n{=(title05):}\n{=(keyword05):spam}\n{=(rule05):Abide by the channel descriptions and avoid posting things that do not belong in them. If you are unsure what can be shared in which channel, you are welcome to ask by sending a DM to modmail.}\n\n{=(title06):}\n{=(keyword06):modmail}\n{=(rule06):In general, if you have a question, submission, inquiry, report, etc., please use modmail. Do not abuse this feature.}\n\n{=(title07):}\n{=(keyword07):logging}\n{=(rule07):We log and store information about everything you do in the server, as well as a few other things from your Discord account as listed below. If you are not comfortable with this, you must leave.\n• account age\n• avatar/name changes\n• joins, leaves\n• latest usernames\n• message edits\n• punishments with reasons\n• role assignments\n• sent Discord invites}\n\n{=(title08):Content Policy - prohibited}\n{=(keyword08):prohibit}\n{=(rule08):• Non-verified members are not allowed to participate in channels marked as NSFW.\n• Non-regular verified members are not allowed to share in the original channel.\n• Do not share anything about minors, including child/loli/shota/furry-cub porn. Verified members are allowed to post childhood pictures.\n• Do not share disturbing imagery such as bestiality, birthing, gore, guro, prolapse, self-harm, snuff, suicide and vore.\n• Do not share imagery including the following kinks: feederism, fire play, needle play, race play, suture play and toilet play.\n• Do not make use of slurs, hate speech, trolling, seizure-inducing imagery, generally toxicity.\n• Do not make use of catfishing, revenge porn, generally public humiliation.}\n\n{=(title09):Content Policy - permitted}\n{=(keyword09):permit}\n{=(rule09):• Ab/dl, age play, age regression, cgl\n• Anal play, pegging, rimming\n• Animal play, pet play, primal play\n• Bondage, restraints, shibari\n• Breast torture\n• Breeding, lactation\n• Collaring, collar and leash, master/slave, owner/pet\n• Discipline\n• Dominance/submission\n• Drug play\n• Edge play: Blood play, branding, breath play, emotional play, fear play, fisting, fluid exchange, humiliation, knife play, gun play\nExhibitionism/voyeurism\n• Fantasy branding, dub-con, incest, public use, rape play, sex slavery\n• Fluid exchange\n• Food play\n• Free use, glory hole\n• Furry, futanari, humanoid monsters, tentacles, transformation\n• Hypnosis, brainwashing, conditioning\n• Ice play, sensation play, temperature play, wax play\n• Mental bondage, mind play, psychological play\n• Micro/macro\n• Role play\n• Sensory deprivation, gagging, blindfolding, etc.\n• Sadomasochism, impact play, caning, flogging, slapping, spanking, whipping, etc.\n• Scent play, tickling, voice play\n• Sleep play\n• Sounding\n• Total power exchange\n• Watersports\n• Wetting}\n\n{=(title10):Punishments}\n{=(keyword10):punish}\n{=(rule10):grounds for banning\n\n(rule o1) Failure to abide by Discord's terms of service. = ban\n(rule o2) Behaving toxic within server grounds and between DMs with other members. = mute\n(rule o3) Disregarding copyright laws. = ban\n(rule o4) Failure to fulfill our role requirement. = kick\n(rule o5) Spamming, disregarding channel descriptions. = mute\n(rule o6) Being disruptive when using modmail. = warn\n(rule o7) Complaining about our logging system. = ban\nBreaking content policy. = ban}\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{=(wordforrule):Rule}\n{=(comment):Don't touch}\n{=(t01):{if({title01}!=):{title01}|{wordforrule} 1}}\n{=(t02):{if({title02}!=):{title02}|{wordforrule} 2}}\n{=(t03):{if({title03}!=):{title03}|{wordforrule} 3}}\n{=(t04):{if({title04}!=):{title04}|{wordforrule} 4}}\n{=(t05):{if({title05}!=):{title05}|{wordforrule} 5}}\n{=(t06):{if({title06}!=):{title06}|{wordforrule} 6}}\n{=(t07):{if({title07}!=):{title07}|{wordforrule} 7}}\n{=(t08):{if({title08}!=):{title08}|{wordforrule} 8}}\n{=(t09):{if({title09}!=):{title09}|{wordforrule} 9}}\n{=(t10):{if({title10}!=):{title10}|{wordforrule} 10}}\n{=(t11):{if({title11}!=):{title11}|{wordforrule} 11}}\n{=(t12):{if({title12}!=):{title12}|{wordforrule} 12}}\n{=(t13):{if({title13}!=):{title13}|{wordforrule} 13}}\n{=(t14):{if({title14}!=):{title14}|{wordforrule} 14}}\n{=(t15):{if({title15}!=):{title15}|{wordforrule} 15}}\n{=(t16):{if({title16}!=):{title16}|{wordforrule} 16}}\n{=(t17):{if({title17}!=):{title17}|{wordforrule} 17}}\n{=(t18):{if({title18}!=):{title18}|{wordforrule} 18}}\n{=(t19):{if({title19}!=):{title19}|{wordforrule} 19}}\n{=(t20):{if({title20}!=):{title20}|{wordforrule} 20}}\n{=(t21):{if({title21}!=):{title21}|{wordforrule} 21}}\n{=(t22):{if({title22}!=):{title22}|{wordforrule} 22}}\n{=(t23):{if({title23}!=):{title23}|{wordforrule} 23}}\n{=(t24):{if({title24}!=):{title24}|{wordforrule} 24}}\n{=(t25):{if({title25}!=):{title25}|{wordforrule} 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):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{=(sanschan):{if({in(<#):{args}}==true):{replace({args({index(<#):{replace(<#,. <# .):{args}}})},):{args}}|{args}}}\n\n{=(comment):DON'T TOUCH, converts keywords into rule numbers}\n{=(wordswap):{lower:{sanschan}}}\n{=(wordswap):{if({keyword01}!=):{if({in({keyword01}):{wordswap}}==true):{replace({wordswap({index({keyword01}):{replace({keyword01},. {keyword01} .):{wordswap}}})},01):{wordswap}}|{wordswap}}|{wordswap}}}\n{=(wordswap):{if({keyword02}!=):{if({in({keyword02}):{wordswap}}==true):{replace({wordswap({index({keyword02}):{replace({keyword02},. {keyword02} .):{wordswap}}})},02):{wordswap}}|{wordswap}}|{wordswap}}}\n{=(wordswap):{if({keyword03}!=):{if({in({keyword03}):{wordswap}}==true):{replace({wordswap({index({keyword03}):{replace({keyword03},. {keyword03} .):{wordswap}}})},03):{wordswap}}|{wordswap}}|{wordswap}}}\n{=(wordswap):{if({keyword04}!=):{if({in({keyword04}):{wordswap}}==true):{replace({wordswap({index({keyword04}):{replace({keyword04},. {keyword04} .):{wordswap}}})},04):{wordswap}}|{wordswap}}|{wordswap}}}\n{=(wordswap):{if({keyword05}!=):{if({in({keyword05}):{wordswap}}==true):{replace({wordswap({index({keyword05}):{replace({keyword05},. {keyword05} .):{wordswap}}})},05):{wordswap}}|{wordswap}}|{wordswap}}}\n{=(wordswap):{if({keyword06}!=):{if({in({keyword06}):{wordswap}}==true):{replace({wordswap({index({keyword06}):{replace({keyword06},. {keyword06} .):{wordswap}}})},06):{wordswap}}|{wordswap}}|{wordswap}}}\n{=(wordswap):{if({keyword07}!=):{if({in({keyword07}):{wordswap}}==true):{replace({wordswap({index({keyword07}):{replace({keyword07},. {keyword07} .):{wordswap}}})},07):{wordswap}}|{wordswap}}|{wordswap}}}\n{=(wordswap):{if({keyword08}!=):{if({in({keyword08}):{wordswap}}==true):{replace({wordswap({index({keyword08}):{replace({keyword08},. {keyword08} .):{wordswap}}})},08):{wordswap}}|{wordswap}}|{wordswap}}}\n{=(wordswap):{if({keyword09}!=):{if({in({keyword09}):{wordswap}}==true):{replace({wordswap({index({keyword09}):{replace({keyword09},. {keyword09} .):{wordswap}}})},09):{wordswap}}|{wordswap}}|{wordswap}}}\n{=(wordswap):{if({keyword10}!=):{if({in({keyword10}):{wordswap}}==true):{replace({wordswap({index({keyword10}):{replace({keyword10},. {keyword10} .):{wordswap}}})},10):{wordswap}}|{wordswap}}|{wordswap}}}\n{=(wordswap):{if({keyword11}!=):{if({in({keyword11}):{wordswap}}==true):{replace({wordswap({index({keyword11}):{replace({keyword11},. {keyword11} .):{wordswap}}})},11):{wordswap}}|{wordswap}}|{wordswap}}}\n{=(wordswap):{if({keyword12}!=):{if({in({keyword12}):{wordswap}}==true):{replace({wordswap({index({keyword12}):{replace({keyword12},. {keyword12} .):{wordswap}}})},12):{wordswap}}|{wordswap}}|{wordswap}}}\n{=(wordswap):{if({keyword13}!=):{if({in({keyword13}):{wordswap}}==true):{replace({wordswap({index({keyword13}):{replace({keyword13},. {keyword13} .):{wordswap}}})},13):{wordswap}}|{wordswap}}|{wordswap}}}\n{=(wordswap):{if({keyword14}!=):{if({in({keyword14}):{wordswap}}==true):{replace({wordswap({index({keyword14}):{replace({keyword14},. {keyword14} .):{wordswap}}})},14):{wordswap}}|{wordswap}}|{wordswap}}}\n{=(wordswap):{if({keyword15}!=):{if({in({keyword15}):{wordswap}}==true):{replace({wordswap({index({keyword15}):{replace({keyword15},. {keyword15} .):{wordswap}}})},15):{wordswap}}|{wordswap}}|{wordswap}}}\n{=(wordswap):{if({keyword16}!=):{if({in({keyword16}):{wordswap}}==true):{replace({wordswap({index({keyword16}):{replace({keyword16},. {keyword16} .):{wordswap}}})},16):{wordswap}}|{wordswap}}|{wordswap}}}\n{=(wordswap):{if({keyword17}!=):{if({in({keyword17}):{wordswap}}==true):{replace({wordswap({index({keyword17}):{replace({keyword17},. {keyword17} .):{wordswap}}})},17):{wordswap}}|{wordswap}}|{wordswap}}}\n{=(wordswap):{if({keyword18}!=):{if({in({keyword18}):{wordswap}}==true):{replace({wordswap({index({keyword18}):{replace({keyword18},. {keyword18} .):{wordswap}}})},18):{wordswap}}|{wordswap}}|{wordswap}}}\n{=(wordswap):{if({keyword19}!=):{if({in({keyword19}):{wordswap}}==true):{replace({wordswap({index({keyword19}):{replace({keyword19},. {keyword19} .):{wordswap}}})},19):{wordswap}}|{wordswap}}|{wordswap}}}\n{=(wordswap):{if({keyword20}!=):{if({in({keyword20}):{wordswap}}==true):{replace({wordswap({index({keyword20}):{replace({keyword20},. {keyword20} .):{wordswap}}})},20):{wordswap}}|{wordswap}}|{wordswap}}}\n{=(wordswap):{if({keyword21}!=):{if({in({keyword21}):{wordswap}}==true):{replace({wordswap({index({keyword21}):{replace({keyword21},. {keyword21} .):{wordswap}}})},21):{wordswap}}|{wordswap}}|{wordswap}}}\n{=(wordswap):{if({keyword22}!=):{if({in({keyword22}):{wordswap}}==true):{replace({wordswap({index({keyword22}):{replace({keyword22},. {keyword22} .):{wordswap}}})},22):{wordswap}}|{wordswap}}|{wordswap}}}\n{=(wordswap):{if({keyword23}!=):{if({in({keyword23}):{wordswap}}==true):{replace({wordswap({index({keyword23}):{replace({keyword23},. {keyword23} .):{wordswap}}})},23):{wordswap}}|{wordswap}}|{wordswap}}}\n{=(wordswap):{if({keyword24}!=):{if({in({keyword24}):{wordswap}}==true):{replace({wordswap({index({keyword24}):{replace({keyword24},. {keyword24} .):{wordswap}}})},24):{wordswap}}|{wordswap}}|{wordswap}}}\n{=(wordswap):{if({keyword25}!=):{if({in({keyword25}):{wordswap}}==true):{replace({wordswap({index({keyword25}):{replace({keyword25},. {keyword25} .):{wordswap}}})},25):{wordswap}}|{wordswap}}|{wordswap}}}\n\n{=(comment):adds leading zeros to single digit numbers: spaces symbols, replaces spaces with ~, replaces ~#~ with ~0#~, replaces ~ with spaces, de-spaces symbols}\n{=(sani):{replace( - ,-):{replace( + ,+):{replace(~, ):{replace(~1~,~01~):{replace(~2~,~02~):{replace(~3~,~03~):{replace(~4~,~04~):{replace(~5~,~05~):{replace(~6~,~06~):{replace(~7~,~07~):{replace(~8~,~08~):{replace(~9~,~09~):{replace( ,~):{replace(-, - ):{replace(+, + ):~{wordswap}~}}}}}}}}}}}}}}}}\n\n{=(comment):DON'T TOUCH, replaces - and + with the rule numbers from the list they represent}\n{=(dash1):{sani(1):-}}\n{=(dash2):{sani(2):-}}\n{=(dash):{if({in(-):{sani}}==true):{dash1}{replace({rules(+{m:trunc(1+{index({dash1(0)}):{rules}})})},):{replace({rules({m:trunc(1+{index({dash2(1)}):{rules}})}+)},):{rules}}}{dash2}|{sani}}}\n{=(plus1):{dash(1):+}}\n{=(plus2):{dash(2):+}}\n{=(plus3):{dash(3):+}}\n{=(plus):{if({in(+):{dash}}==true):{if({plus1}!=):{if({plus1(+-1)}!=):{plus1(+-1)} }{rules({m:trunc(1+{index({plus1(0)}):{rules}})}+)} }{if({plus2}!=):{rules(+{m:trunc(1+{index({plus2(1)}):{rules}})})} {if({plus2(2+)}!=):{plus2(2+)} }}{if({plus3}==):{rules({m:trunc({index({plus2(0)}):{rules}}+2)}+)}|{rules(+{m:trunc(1+{index({plus3(1)}):{rules}})})} {if({plus3(2+)}!=):{plus3(2+)}}}|{dash}}}\n\n{=(comment):rebuilds input list based on inclusion in rule list, while preventing duplicates. if rawlist entity 0-24 is not empty, is in the rules variable which is autopopulated, and is not already present in the new number list, said rawlist entity is added to num}\n{=(rawlist):{join(,):{plus}}}\n{=(num):}\n{=(num):{num}{all({list(0):{rawlist}}!=|{contains({list(0):{rawlist}}):{rules}}==true|{contains({list(0):{rawlist}}):{num}}==false):{list(0):{rawlist}} }}\n{=(num):{num}{all({list(1):{rawlist}}!=|{contains({list(1):{rawlist}}):{rules}}==true|{contains({list(1):{rawlist}}):{num}}==false):{list(1):{rawlist}} }}\n{=(num):{num}{all({list(2):{rawlist}}!=|{contains({list(2):{rawlist}}):{rules}}==true|{contains({list(2):{rawlist}}):{num}}==false):{list(2):{rawlist}} }}\n{=(num):{num}{all({list(3):{rawlist}}!=|{contains({list(3):{rawlist}}):{rules}}==true|{contains({list(3):{rawlist}}):{num}}==false):{list(3):{rawlist}} }}\n{=(num):{num}{all({list(4):{rawlist}}!=|{contains({list(4):{rawlist}}):{rules}}==true|{contains({list(4):{rawlist}}):{num}}==false):{list(4):{rawlist}} }}\n{=(num):{num}{all({list(5):{rawlist}}!=|{contains({list(5):{rawlist}}):{rules}}==true|{contains({list(5):{rawlist}}):{num}}==false):{list(5):{rawlist}} }}\n{=(num):{num}{all({list(6):{rawlist}}!=|{contains({list(6):{rawlist}}):{rules}}==true|{contains({list(6):{rawlist}}):{num}}==false):{list(6):{rawlist}} }}\n{=(num):{num}{all({list(7):{rawlist}}!=|{contains({list(7):{rawlist}}):{rules}}==true|{contains({list(7):{rawlist}}):{num}}==false):{list(7):{rawlist}} }}\n{=(num):{num}{all({list(8):{rawlist}}!=|{contains({list(8):{rawlist}}):{rules}}==true|{contains({list(8):{rawlist}}):{num}}==false):{list(8):{rawlist}} }}\n{=(num):{num}{all({list(9):{rawlist}}!=|{contains({list(9):{rawlist}}):{rules}}==true|{contains({list(9):{rawlist}}):{num}}==false):{list(9):{rawlist}} }}\n{=(num):{num}{all({list(10):{rawlist}}!=|{contains({list(10):{rawlist}}):{rules}}==true|{contains({list(10):{rawlist}}):{num}}==false):{list(10):{rawlist}} }}\n{=(num):{num}{all({list(11):{rawlist}}!=|{contains({list(11):{rawlist}}):{rules}}==true|{contains({list(11):{rawlist}}):{num}}==false):{list(11):{rawlist}} }}\n{=(num):{num}{all({list(12):{rawlist}}!=|{contains({list(12):{rawlist}}):{rules}}==true|{contains({list(12):{rawlist}}):{num}}==false):{list(12):{rawlist}} }}\n{=(num):{num}{all({list(13):{rawlist}}!=|{contains({list(13):{rawlist}}):{rules}}==true|{contains({list(13):{rawlist}}):{num}}==false):{list(13):{rawlist}} }}\n{=(num):{num}{all({list(14):{rawlist}}!=|{contains({list(14):{rawlist}}):{rules}}==true|{contains({list(14):{rawlist}}):{num}}==false):{list(14):{rawlist}} }}\n{=(num):{num}{all({list(15):{rawlist}}!=|{contains({list(15):{rawlist}}):{rules}}==true|{contains({list(15):{rawlist}}):{num}}==false):{list(15):{rawlist}} }}\n{=(num):{num}{all({list(16):{rawlist}}!=|{contains({list(16):{rawlist}}):{rules}}==true|{contains({list(16):{rawlist}}):{num}}==false):{list(16):{rawlist}} }}\n{=(num):{num}{all({list(17):{rawlist}}!=|{contains({list(17):{rawlist}}):{rules}}==true|{contains({list(17):{rawlist}}):{num}}==false):{list(17):{rawlist}} }}\n{=(num):{num}{all({list(18):{rawlist}}!=|{contains({list(18):{rawlist}}):{rules}}==true|{contains({list(18):{rawlist}}):{num}}==false):{list(18):{rawlist}} }}\n{=(num):{num}{all({list(19):{rawlist}}!=|{contains({list(19):{rawlist}}):{rules}}==true|{contains({list(19):{rawlist}}):{num}}==false):{list(19):{rawlist}} }}\n{=(num):{num}{all({list(20):{rawlist}}!=|{contains({list(20):{rawlist}}):{rules}}==true|{contains({list(20):{rawlist}}):{num}}==false):{list(20):{rawlist}} }}\n{=(num):{num}{all({list(21):{rawlist}}!=|{contains({list(21):{rawlist}}):{rules}}==true|{contains({list(21):{rawlist}}):{num}}==false):{list(21):{rawlist}} }}\n{=(num):{num}{all({list(22):{rawlist}}!=|{contains({list(22):{rawlist}}):{rules}}==true|{contains({list(22):{rawlist}}):{num}}==false):{list(22):{rawlist}} }}\n{=(num):{num}{all({list(23):{rawlist}}!=|{contains({list(23):{rawlist}}):{rules}}==true|{contains({list(23):{rawlist}}):{num}}==false):{list(23):{rawlist}} }}\n{=(num):{num}{all({list(24):{rawlist}}!=|{contains({list(24):{rawlist}}):{rules}}==true|{contains({list(24):{rawlist}}):{num}}==false):{list(24):{rawlist}}}}\n\n{=(comment):The following tests to see if args are empty, or if help or keyword are present, or if the input failed to generate a shortened list of rules, and if so, sets the rule numbers to the full list of rules}\n{=(largs):{lower:{args}}}\n{=(num):{any({largs(1)}==|{all({in(help):{largs}}==false|{in(keyword):{largs}}==false|{num}==):true|false}==true):{join(,):{rules}}|{join(,):{num}}}}\n\n{=(comment):Embed field generation for rule output, don't touch. ┐ = comma placeholder character}\n{=(ilf):,\"inline\":false}\n{=(cfields):{if({list(0):{num}}!=):{\"name\":\"{t{list(0):{num}}}\",\"value\":\"{rule{list(0):{num}}}\"{ilf}}}┐{if({list(1):{num}}!=):{\"name\":\"{t{list(1):{num}}}\",\"value\":\"{rule{list(1):{num}}}\"{ilf}}}┐{if({list(2):{num}}!=):{\"name\":\"{t{list(2):{num}}}\",\"value\":\"{rule{list(2):{num}}}\"{ilf}}}┐{if({list(3):{num}}!=):{\"name\":\"{t{list(3):{num}}}\",\"value\":\"{rule{list(3):{num}}}\"{ilf}}}┐{if({list(4):{num}}!=):{\"name\":\"{t{list(4):{num}}}\",\"value\":\"{rule{list(4):{num}}}\"{ilf}}}┐{if({list(5):{num}}!=):{\"name\":\"{t{list(5):{num}}}\",\"value\":\"{rule{list(5):{num}}}\"{ilf}}}┐{if({list(6):{num}}!=):{\"name\":\"{t{list(6):{num}}}\",\"value\":\"{rule{list(6):{num}}}\"{ilf}}}┐{if({list(7):{num}}!=):{\"name\":\"{t{list(7):{num}}}\",\"value\":\"{rule{list(7):{num}}}\"{ilf}}}┐{if({list(8):{num}}!=):{\"name\":\"{t{list(8):{num}}}\",\"value\":\"{rule{list(8):{num}}}\"{ilf}}}┐{if({list(9):{num}}!=):{\"name\":\"{t{list(9):{num}}}\",\"value\":\"{rule{list(9):{num}}}\"{ilf}}}┐{if({list(10):{num}}!=):{\"name\":\"{t{list(10):{num}}}\",\"value\":\"{rule{list(10):{num}}}\"{ilf}}}┐{if({list(11):{num}}!=):{\"name\":\"{t{list(11):{num}}}\",\"value\":\"{rule{list(11):{num}}}\"{ilf}}}┐{if({list(12):{num}}!=):{\"name\":\"{t{list(12):{num}}}\",\"value\":\"{rule{list(12):{num}}}\"{ilf}}}┐{if({list(13):{num}}!=):{\"name\":\"{t{list(13):{num}}}\",\"value\":\"{rule{list(13):{num}}}\"{ilf}}}┐{if({list(14):{num}}!=):{\"name\":\"{t{list(14):{num}}}\",\"value\":\"{rule{list(14):{num}}}\"{ilf}}}┐{if({list(15):{num}}!=):{\"name\":\"{t{list(15):{num}}}\",\"value\":\"{rule{list(15):{num}}}\"{ilf}}}┐{if({list(16):{num}}!=):{\"name\":\"{t{list(16):{num}}}\",\"value\":\"{rule{list(16):{num}}}\"{ilf}}}┐{if({list(17):{num}}!=):{\"name\":\"{t{list(17):{num}}}\",\"value\":\"{rule{list(17):{num}}}\"{ilf}}}┐{if({list(18):{num}}!=):{\"name\":\"{t{list(18):{num}}}\",\"value\":\"{rule{list(18):{num}}}\"{ilf}}}┐{if({list(19):{num}}!=):{\"name\":\"{t{list(19):{num}}}\",\"value\":\"{rule{list(19):{num}}}\"{ilf}}}┐{if({list(20):{num}}!=):{\"name\":\"{t{list(20):{num}}}\",\"value\":\"{rule{list(20):{num}}}\"{ilf}}}┐{if({list(21):{num}}!=):{\"name\":\"{t{list(21):{num}}}\",\"value\":\"{rule{list(21):{num}}}\"{ilf}}}┐{if({list(22):{num}}!=):{\"name\":\"{t{list(22):{num}}}\",\"value\":\"{rule{list(22):{num}}}\"{ilf}}}┐{if({list(23):{num}}!=):{\"name\":\"{t{list(23):{num}}}\",\"value\":\"{rule{list(23):{num}}}\"{ilf}}}┐{if({list(24):{num}}!=):{\"name\":\"{t{list(24):{num}}}\",\"value\":\"{rule{list(24):{num}}}\"{ilf}}}}\n\n{=(comment):different description holding variables}\n{=(instr):__Instructions__\nFollow the command with the number(s) of the rules you wish to output with spaces in between. Additional accepted formats are:\n#*x*-#*y* to indicate rules from #*x* to #*y* (limit 1x`-`)\n#+ to indicate rules from # to the end of the list of rules\n+# to indicate rules from 1 to # (limit 2x`+`)\nYou can also mix in keywords that have been set (don't mix keywords and symbols).\nExamples: `!rules +2 nsfw 4-6 8+` }\n\n{=(kw):__Keywords__\n{keyword01} {keyword02} {keyword03} {keyword04} {keyword05} {keyword06} {keyword07} {keyword08} {keyword09} {keyword10} {keyword11} {keyword12} {keyword13} {keyword14} {keyword15} {keyword16} {keyword17} {keyword18} {keyword19} {keyword20} {keyword21} {keyword22} {keyword23} {keyword24} {keyword25}}\n\n{=(comment):Embed fields}\n{=(footer):Type \\\"!rules help\\\" for instructions, and \\\"!rules keywords\\\" for the list of reference keywords.}\n{=(des):{if({in(help):{largs}}==true):{instr}|{if({in(keyword):{largs}}==true):{kw}|{if({ruleschannelid}!=):{ruleschannelid}}}}}\n\n{=(comment):finalizes the json for the embed by replacing spaces with a filler character, replacing comma placeholder characters with spaces, joining the spaces with commas, and replacing the filler characters with spaces again. this ensures there are no commas preceeding JSON fields, nor trailing the last JSON field. also includes logic choosing whether to display the full rules list (if args or the input number list are empty AND help/keyword are not displayed) or the custom rules list}\n{=(json):\"title\":\"{embedtitle}\",\"description\":\"{des}\",\"fields\":[{replace(█, ):{join(,):{replace(┐, ):{replace( ,█):{cfields}}}}}],\"author\":{\"name\":\"{server}\",\"icon_url\":\"{server(icon)}\"},\"color\":3092790,\"footer\":{\"text\":\"{footer}\"}}\n\n{c:cembed {if({in(<#):{args}}==true):{args({index(<#):{replace(<#,. <# .):{args}}})}|{channel(id)}} {{json}}}",
  "embed": "{}",
  "last_fetched": "2026-10-20T21:05:41.992Z"
}