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):726034602715512832}
{=(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):1️⃣ Be respectful.}
{=(keyword01):res}
{=(rule01):`Don't be rude or disrespectful to anyone. This includes targeting someone in order to provoke them. Anything that can be considered insulting, accusatory, defamatory, violent, sexist, racist, homophobic, bigoted or misogynistic falls under this rule. Toxicity and Elitism will be treated in the same manner. Depending on the severity of the infraction, this can result in an immediate mute, warn or ban.`}
{=(title02):2️⃣ Spamming is not tolerated.}
{=(keyword02):spam}
{=(rule02):`Sending arbitrary messages or sending the same message again and again in a fast sequence is considered spam. This includes attempting to ping, @everyone and @here. Talking to yourself or acting like multiple people falls under this rule. The @Attachments Blacklisted role can eventually be given for repeated infractions.`}
{=(title03):3️⃣ Don't start large drama.}
{=(keyword03):drama}
{=(rule03):`Sensitive topics (politics, religion, etc.) are not appropriate for discussion. Any discussion that degrades into an argument will be stopped for the peace of the server. Arguing by insulting or personal attacks also falls under this rule. (Additional toxicity warning). Flame wars will be treated in the same manner. However, debates and reasonable arguments are allowed. Depending on the severity of the infraction, this can result in a verbal warn, and, if necessary, by a warn/mute. The use of channel lockdown can also be expected.`}
{=(title04):4️⃣ No advertising whatsoever.}
{=(keyword04):ad}
{=(rule04):`Advertising any kind of content is strictly forbidden. This includes, but is not limited to, Discord invite links, referral links, begging for followers/likes, and social media profiles or channels. Doing so in one's private messages, or by means of status, also falls under this rule. Failing to abide by this rule will be met with an instant ban.`}
{=(title05):5️⃣ Don't post NSFW or NSFL content of any kind.}
{=(keyword05):nsfw}
{=(rule05):`This includes, but is not limited to status, user/nicknames, avatars, text, attachments, links and DM’s to any users with said content. Content that can be classified as disturbing such as gore earr**e or jumpscares isn't allowed. While this mainly applies to images, NSFW/NSFL conversations will be treated in the same manner. The @Attachments Blacklisted role can eventually be given when facing such issue.`}
{=(title06):6️⃣ Excessive profanity is prohibited..}
{=(keyword06):prof}
{=(rule06):`Since the Soul Knight Online community has an average age higher than the average of other servers, swearing and profanity are allowed. However, be mindful that not everyone wants or has to see constant swearing everywhere, and therefore doing it constantly/frequently will not be tolerated. Derogating to this rule may result in a verbal warn, and if necessary, a warn/mute.`}
{=(title07):7️⃣ Chat in the correct channels.}
{=(keyword07):chat}
{=(rule07):`We have channels set up for certain topics: please make sure to keep the conversation relevant to the channel you're in. Make sure to read a channel's description and pinned messages before sending anything. Talking in the wrong channel will result in a verbal warn, followed if necessary by a warn/mute. The use of channel lockdown can also be expected.`}
{=(title08):8️⃣ No chatting in other languages (use translator bot).}
{=(keyword08):lang}
{=(rule08):`For its well-being, this server is English only. Speaking in other languages strictly discouraged. If you can't speak English, or have poor aptitudes in the language which doesn't allow you to hold a conversation, you may use the translator bot. The command is: `?en followed by your message`. You can also ask a Helper or above to enable the automatic translation of your messages. However, this rule does not affect private rooms. Speaking in another language will result in a verbal warning, followed by a warn/mute if the problem persists.`}
{=(title09):9️⃣ Don't impersonate anyone.}
{=(keyword09):imp}
{=(rule09):`Acting as a staff member while not being one is strictly forbidden. This includes any form of Mini-Modding or Backseat Modding. This means that you are not allowed to explicitly verbally warn someone. However, telling them to read the rules is more than recommended when facing an issue. This also applies to impersonating Bots. Pretending to be another member may not be tolerated if it is too excessive. Failing to respect this rule may result in a verbal warning and a nickname change. If the problem persists, it may result into a warn/mute. The @Nickname allowed role may be removed.`}
{=(title10):🔟 Keep your name pingable.}
{=(keyword10):nick}
{=(rule10):`Please make sure to be accessible at any moment. This means that your nickname must be easily mentionable. Nicknames that will not be accepted include, but are not limited to foreign characters, invisible nicknames and characters which are inaccessible by a default ASCII keyboard. Having an unpingable name will result in an immediate nickname change. Failing to accept such change may result in a verbal warn, followed if necessary by the removal of the @Nickname allowed role.`}
{=(title11): THIS SERVER ENFORCES DISCORD'S TOS.}
{=(keyword11):tos}
{=(rule11):https://discordapp.com/terms `;` https://discordapp.com/guidelines}
{=(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":14698316,"footer":{"text":"{footer}"}}
{c:cembed {if({in(<#):{args}}==true):{args({index(<#):{replace(<#,. <# .):{args}}})}|{channel(id)}} {{json}}}Raw JSON
{
"id": 178773,
"created_at": "2020-05-13T10:15:38.000Z",
"tag_name": "rules",
"nsfw": false,
"owner_id": "448497787315683340",
"uses": 1163,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "680152209450991780",
"sharer": "448497787315683340",
"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):726034602715512832}\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):1️⃣ Be respectful.}\n{=(keyword01):res}\n{=(rule01):`Don't be rude or disrespectful to anyone. This includes targeting someone in order to provoke them. Anything that can be considered insulting, accusatory, defamatory, violent, sexist, racist, homophobic, bigoted or misogynistic falls under this rule. Toxicity and Elitism will be treated in the same manner. Depending on the severity of the infraction, this can result in an immediate mute, warn or ban.`}\n\n{=(title02):2️⃣ Spamming is not tolerated.}\n{=(keyword02):spam}\n{=(rule02):`Sending arbitrary messages or sending the same message again and again in a fast sequence is considered spam. This includes attempting to ping, @everyone and @here. Talking to yourself or acting like multiple people falls under this rule. The @Attachments Blacklisted role can eventually be given for repeated infractions.`}\n\n{=(title03):3️⃣ Don't start large drama.}\n{=(keyword03):drama}\n{=(rule03):`Sensitive topics (politics, religion, etc.) are not appropriate for discussion. Any discussion that degrades into an argument will be stopped for the peace of the server. Arguing by insulting or personal attacks also falls under this rule. (Additional toxicity warning). Flame wars will be treated in the same manner. However, debates and reasonable arguments are allowed. Depending on the severity of the infraction, this can result in a verbal warn, and, if necessary, by a warn/mute. The use of channel lockdown can also be expected.`}\n\n{=(title04):4️⃣ No advertising whatsoever.}\n{=(keyword04):ad}\n{=(rule04):`Advertising any kind of content is strictly forbidden. This includes, but is not limited to, Discord invite links, referral links, begging for followers/likes, and social media profiles or channels. Doing so in one's private messages, or by means of status, also falls under this rule. Failing to abide by this rule will be met with an instant ban.`}\n\n{=(title05):5️⃣ Don't post NSFW or NSFL content of any kind.}\n{=(keyword05):nsfw}\n{=(rule05):`This includes, but is not limited to status, user/nicknames, avatars, text, attachments, links and DM’s to any users with said content. Content that can be classified as disturbing such as gore earr**e or jumpscares isn't allowed. While this mainly applies to images, NSFW/NSFL conversations will be treated in the same manner. The @Attachments Blacklisted role can eventually be given when facing such issue.`}\n\n{=(title06):6️⃣ Excessive profanity is prohibited..}\n{=(keyword06):prof}\n{=(rule06):`Since the Soul Knight Online community has an average age higher than the average of other servers, swearing and profanity are allowed. However, be mindful that not everyone wants or has to see constant swearing everywhere, and therefore doing it constantly/frequently will not be tolerated. Derogating to this rule may result in a verbal warn, and if necessary, a warn/mute.`}\n\n{=(title07):7️⃣ Chat in the correct channels.}\n{=(keyword07):chat}\n{=(rule07):`We have channels set up for certain topics: please make sure to keep the conversation relevant to the channel you're in. Make sure to read a channel's description and pinned messages before sending anything. Talking in the wrong channel will result in a verbal warn, followed if necessary by a warn/mute. The use of channel lockdown can also be expected.`}\n\n{=(title08):8️⃣ No chatting in other languages (use translator bot).}\n{=(keyword08):lang}\n{=(rule08):`For its well-being, this server is English only. Speaking in other languages strictly discouraged. If you can't speak English, or have poor aptitudes in the language which doesn't allow you to hold a conversation, you may use the translator bot. The command is: `?en followed by your message`. You can also ask a Helper or above to enable the automatic translation of your messages. However, this rule does not affect private rooms. Speaking in another language will result in a verbal warning, followed by a warn/mute if the problem persists.`}\n\n{=(title09):9️⃣ Don't impersonate anyone.}\n{=(keyword09):imp}\n{=(rule09):`Acting as a staff member while not being one is strictly forbidden. This includes any form of Mini-Modding or Backseat Modding. This means that you are not allowed to explicitly verbally warn someone. However, telling them to read the rules is more than recommended when facing an issue. This also applies to impersonating Bots. Pretending to be another member may not be tolerated if it is too excessive. Failing to respect this rule may result in a verbal warning and a nickname change. If the problem persists, it may result into a warn/mute. The @Nickname allowed role may be removed.`}\n\n{=(title10):🔟 Keep your name pingable.}\n{=(keyword10):nick}\n{=(rule10):`Please make sure to be accessible at any moment. This means that your nickname must be easily mentionable. Nicknames that will not be accepted include, but are not limited to foreign characters, invisible nicknames and characters which are inaccessible by a default ASCII keyboard. Having an unpingable name will result in an immediate nickname change. Failing to accept such change may result in a verbal warn, followed if necessary by the removal of the @Nickname allowed role.`}\n\n{=(title11): THIS SERVER ENFORCES DISCORD'S TOS.}\n{=(keyword11):tos}\n{=(rule11):https://discordapp.com/terms `;` https://discordapp.com/guidelines}\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\":14698316,\"footer\":{\"text\":\"{footer}\"}}\n\n{c:cembed {if({in(<#):{args}}==true):{args({index(<#):{replace(<#,. <# .):{args}}})}|{channel(id)}} {{json}}}",
"embed": "{}",
"last_fetched": "2026-10-20T21:24:45.408Z"
}