rules
Privateunrated
Content
247 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):641498754884829215}
{=(comment):Add, change or remove the embed title here}
{=(embedtitle):Dreamers 🌌🌟 Rules}
{=(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):**1-SHOW RESPECT TO OTHERS**}
{=(keyword01):respect}
{=(rule01):• You do not have to like or tolerate any group of people or any single person. However, everyone is deserving for some amount of respect. We are all humans (except me) and thus inherit the rights to our self, privacy, liberty, opinion (including the freedom to express your opinions), and other rights.}
{=(title02):**2-DO NOT POST INAPPROPRIATE MESSAGES**}
{=(keyword02):nsfw}
{=(rule02):• This includes messages with the ill intent to; harass, degrade, scam, mislead, exploit, and other variations of malignant behavior. For example, prohibited messages could include embedding or linking to; viruses, malware, pornography, QR codes, etc. (Includes images of porn). The N-word and other racist remarks are also prohibited.}
{=(title03):**3-DO NOT INCITE OR CONTRIBUTE TO DRAMA**}
{=(keyword03):drama}
{=(rule03):• This isn't a story-time YouTube channel or DramaAlert video. Any and all drama is not tolerated as it can be resolved and brought to private messages or group chats outside of this server.}
{=(title04):**4-DO NOT SPAM CHANNELS**}
{=(keyword04):spam}
{=(rule04):• Deliberate spamming of channels, botting messages, or finding loopholes to interact after being muted.}
{=(title05):**5-DO NOT COMMIT PLAGIARISM**}
{=(keyword05):plagiarism}
{=(rule05):• This is already illegal and a U.S. federal crime most people know but historically it is appropriate to relay this here as well. Do not steal or 'borrow without permission' other people's work and publish it or claim it as your own. Regardless of intent for personal gain or credit. Unless it is explicitly labeled as 'free of use' or 'uncopyrighted', it is a criminal offense. This also includes impersonating, lying, or deceiving on behalf of someone else without their consent.}
{=(title06):**6-NO ADVERTISING**}
{=(keyword06):advertising}
{=(rule06):• If you have some form of advertising, sponsoring, or partnering you would like to be broadcasted you will privately message a staff member or Joey#5758 with your business query. Unauthorized messaging is prohibited.}
{=(title07):**7-CHAT IN RESPECTIVE CHANNELS**}
{=(keyword07):chat}
{=(rule07):• There is a vast and diverse selection of channels each with their individual purposes for your leisure and everyone's ease of viewing. However much this rule is encouraged, staff WILL ONLY SOFT-WARN for breaking this rule (repeat offenders will get warns or mutes).}
{=(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}
{=(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": 138461,
"created_at": "2020-03-25T00:18:20.000Z",
"tag_name": "rules",
"nsfw": false,
"owner_id": "420710779688321035",
"uses": 15,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "420734731433410593",
"sharer": "420710779688321035",
"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):641498754884829215}\n\n{=(comment):Add, change or remove the embed title here}\n{=(embedtitle):Dreamers 🌌🌟 Rules}\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):**1-SHOW RESPECT TO OTHERS**}\n{=(keyword01):respect}\n{=(rule01):• You do not have to like or tolerate any group of people or any single person. However, everyone is deserving for some amount of respect. We are all humans (except me) and thus inherit the rights to our self, privacy, liberty, opinion (including the freedom to express your opinions), and other rights.}\n\n{=(title02):**2-DO NOT POST INAPPROPRIATE MESSAGES**}\n{=(keyword02):nsfw}\n{=(rule02):• This includes messages with the ill intent to; harass, degrade, scam, mislead, exploit, and other variations of malignant behavior. For example, prohibited messages could include embedding or linking to; viruses, malware, pornography, QR codes, etc. (Includes images of porn). The N-word and other racist remarks are also prohibited.}\n\n{=(title03):**3-DO NOT INCITE OR CONTRIBUTE TO DRAMA**}\n{=(keyword03):drama}\n{=(rule03):• This isn't a story-time YouTube channel or DramaAlert video. Any and all drama is not tolerated as it can be resolved and brought to private messages or group chats outside of this server.}\n\n{=(title04):**4-DO NOT SPAM CHANNELS**}\n{=(keyword04):spam}\n{=(rule04):• Deliberate spamming of channels, botting messages, or finding loopholes to interact after being muted.}\n\n{=(title05):**5-DO NOT COMMIT PLAGIARISM**}\n{=(keyword05):plagiarism}\n{=(rule05):• This is already illegal and a U.S. federal crime most people know but historically it is appropriate to relay this here as well. Do not steal or 'borrow without permission' other people's work and publish it or claim it as your own. Regardless of intent for personal gain or credit. Unless it is explicitly labeled as 'free of use' or 'uncopyrighted', it is a criminal offense. This also includes impersonating, lying, or deceiving on behalf of someone else without their consent.}\n\n{=(title06):**6-NO ADVERTISING**}\n{=(keyword06):advertising}\n{=(rule06):• If you have some form of advertising, sponsoring, or partnering you would like to be broadcasted you will privately message a staff member or Joey#5758 with your business query. Unauthorized messaging is prohibited.}\n\n{=(title07):**7-CHAT IN RESPECTIVE CHANNELS**}\n{=(keyword07):chat}\n{=(rule07):• There is a vast and diverse selection of channels each with their individual purposes for your leisure and everyone's ease of viewing. However much this rule is encouraged, staff WILL ONLY SOFT-WARN for breaking this rule (repeat offenders will get warns or mutes).}\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{=(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:47.156Z"
}