rule

Privateunrated

Content

194 lines
{=(comment):Change the prefix and tag name to match your server's settings.}
{=(prefix):-}
{=(tagname):rule}
{require: 754703783585382420}

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

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

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

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

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

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


{=(title01):[1] Usernames}
{=(keyword01):usernames}
{=(rule01):**NO** usernames with unusual or unreadable unicode. You username should only contain standard letters, numbers and emojis.}

{=(title02):[2] Profile Pictures}
{=(keyword02):profile,pfp,picture}
{=(rule02):Your Profile Picture must **NOT** be Offensive or sexually explicit}

{=(title03): [3] No Advertising of any kind}
{=(keyword03):advertise,ads,advertising}
{=(rule03):No self-promotion(server invites, advertisements, etc) is not allowed except for the designated channels. DM advertising fellow members is strictly prohibited and will result in a direct ban.}

{=(title04):[4] Engish}
{=(keyword04):english,language}
{=(rule04):Please Use English **ONLY** for communication. This includes text, images and emotes. This does not include voice channels and <#798822911980208149>. It is so that other members can understand what you say.}

{=(title05):[5] Stay on topic}
{=(keyword05):channel-topic,purpose}
{=(rule05):Use the channels according to their purpose. Any member found using channels other than their purpose will be warned verbally and then muted if continues. This includes most of the bot commands too.}

{=(title06):[6] Swearing}
{=(keyword06):swearing,racial}
{=(rule06):Swearing is allowed **BUT** using racial slurs is strictly not allowed. Bypassing this can result in a mute}

{=(title07):[7] No Drama/Questioning staff}
{=(keyword07):no-drama}
{=(rule07):You are allowed to ask the staff on why you were given a punishment **BUT** Don't argue with staff, Listen to them and don't cause drama in the server. Moderators reserved the right to block or ignore you if you continue to argue or interfere them.}

{=(title08):[8] Follow Discord terms of service}
{=(keyword08):discord-tos,discord-guidelines}
{=(rule08):🔗  <https://discord.com/new/terms>
🔗  <https://discordapp.com/guidelines>}

{=(title09):[9] Listen to staff}
{=(keyword09):listen-to-staff}
{=(rule09):The staff members are allowed to stop you from doing a task that is not specifically mentioned in rules (such as: Disturbing other member's privacy, talk about a controversial topic)}

{=(title10):[10] No NSFW or obscene content}
{=(keyword10):no-nsfw-content,obscene}
{=(rule10):No NSFW or obscene content. This includes images, or links featuring nudity, sex, hard violence, or other graphically disturbing content.}

{=(title11):[11] No Spoilers}
{=(keyword11):spoilers-of-shows}
{=(rule11):Please refrain from sending spoilers of shows, movies, anime or manga or anything related this is not allowed even though you use ||spoilers|| your message will be deleted if you continue to repeat this you will be muted}

{=(title12):[12] Don't Misuse Spoilers}
{=(keyword12):misuse-spoilers}
{=(rule12):You are not allowed to misuse spoilers by making it look like you said the N word or any other racial slur. One example of this is 'N||ugget||'}

{=(title13):[13] No spamming/copypasta}
{=(keyword13):no-spamming,no-copypasta}
{=(rule13):Any kind of spamming is **NOT** tolerated and can result in a strike this includes but is not limited to: messages, files, commands, emojis, reactions, punctuation, copy-pasta}

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

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

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

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

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

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

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

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

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

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

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

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

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


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


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

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

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

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

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

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

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

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

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

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

Embed

1 line
{"color": 3092790, "fields": [{"name": "​{t{num}}", "value": "​{rule{num}}", "inline": false}], "footer": {"text": "Last updated on [20/04/2021]"}}
Raw JSON
{
  "id": 762413,
  "created_at": "2021-04-19T19:24:12.000Z",
  "tag_name": "rule",
  "nsfw": false,
  "owner_id": "733370212199694467",
  "uses": 39,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "735831202799419454",
  "sharer": "733370212199694467",
  "content": "{=(comment):Change the prefix and tag name to match your server's settings.}\n{=(prefix):-}\n{=(tagname):rule}\n{require: 754703783585382420}\n\n{=(comment):\nIf you would like the tag to always display a link to your rules channel in the description when you are listing rules\nInsert the channel id of your rules channel below. Leave completely blank and it will not display.}\n{=(ruleschannelid):748239691878236251}\n\n{=(comment):Add, change or remove the embed title here}\n{embed(title):}\n\n{=(comment):\nPut custom titles in the title1-title25 variables (if you want them).\nPut keywords for each rule in the keyword1-keyword25 variables. Not required but useful.\n\nThe logic behind keyword detection has changed, LONG keywords are better. If you have \"spamming\" as the keyword, and do \"!rule spam\", it will detect it. \n\nYou can provide multiple keywords for each rule IF you do NOT put spaces in between them. Use commas if you feel the need to separate them.\n\nPut rules in the rule1-rule25 variables.\nTitles must be less than 256 characters, and rules must be less than 1024 characters.\nSome symbols in rule text might cause issues, limit formatting to Discord markdown friendly characters. \nDO NOT USE \" or | in rule text.\nLeave custom titles blank to have the titles just be \"Rule #\".\nLeave corresponding title, keyword, and rule variables blank if the rule # does not exist, but do NOT erase the blank variables}\n\n\n{=(title01):[1] Usernames}\n{=(keyword01):usernames}\n{=(rule01):**NO** usernames with unusual or unreadable unicode. You username should only contain standard letters, numbers and emojis.}\n\n{=(title02):[2] Profile Pictures}\n{=(keyword02):profile,pfp,picture}\n{=(rule02):Your Profile Picture must **NOT** be Offensive or sexually explicit}\n\n{=(title03): [3] No Advertising of any kind}\n{=(keyword03):advertise,ads,advertising}\n{=(rule03):No self-promotion(server invites, advertisements, etc) is not allowed except for the designated channels. DM advertising fellow members is strictly prohibited and will result in a direct ban.}\n\n{=(title04):[4] Engish}\n{=(keyword04):english,language}\n{=(rule04):Please Use English **ONLY** for communication. This includes text, images and emotes. This does not include voice channels and <#798822911980208149>. It is so that other members can understand what you say.}\n\n{=(title05):[5] Stay on topic}\n{=(keyword05):channel-topic,purpose}\n{=(rule05):Use the channels according to their purpose. Any member found using channels other than their purpose will be warned verbally and then muted if continues. This includes most of the bot commands too.}\n\n{=(title06):[6] Swearing}\n{=(keyword06):swearing,racial}\n{=(rule06):Swearing is allowed **BUT** using racial slurs is strictly not allowed. Bypassing this can result in a mute}\n\n{=(title07):[7] No Drama/Questioning staff}\n{=(keyword07):no-drama}\n{=(rule07):You are allowed to ask the staff on why you were given a punishment **BUT** Don't argue with staff, Listen to them and don't cause drama in the server. Moderators reserved the right to block or ignore you if you continue to argue or interfere them.}\n\n{=(title08):[8] Follow Discord terms of service}\n{=(keyword08):discord-tos,discord-guidelines}\n{=(rule08):🔗  <https://discord.com/new/terms>\n🔗  <https://discordapp.com/guidelines>}\n\n{=(title09):[9] Listen to staff}\n{=(keyword09):listen-to-staff}\n{=(rule09):The staff members are allowed to stop you from doing a task that is not specifically mentioned in rules (such as: Disturbing other member's privacy, talk about a controversial topic)}\n\n{=(title10):[10] No NSFW or obscene content}\n{=(keyword10):no-nsfw-content,obscene}\n{=(rule10):No NSFW or obscene content. This includes images, or links featuring nudity, sex, hard violence, or other graphically disturbing content.}\n\n{=(title11):[11] No Spoilers}\n{=(keyword11):spoilers-of-shows}\n{=(rule11):Please refrain from sending spoilers of shows, movies, anime or manga or anything related this is not allowed even though you use ||spoilers|| your message will be deleted if you continue to repeat this you will be muted}\n\n{=(title12):[12] Don't Misuse Spoilers}\n{=(keyword12):misuse-spoilers}\n{=(rule12):You are not allowed to misuse spoilers by making it look like you said the N word or any other racial slur. One example of this is 'N||ugget||'}\n\n{=(title13):[13] No spamming/copypasta}\n{=(keyword13):no-spamming,no-copypasta}\n{=(rule13):Any kind of spamming is **NOT** tolerated and can result in a strike this includes but is not limited to: messages, files, commands, emojis, reactions, punctuation, copy-pasta}\n\n{=(title14):}\n{=(keyword14):}\n{=(rule14):}\n\n{=(title15):}\n{=(keyword15):}\n{=(rule15):}\n\n{=(title16):}\n{=(keyword16):}\n{=(rule16):}\n\n{=(title17):}\n{=(keyword17):}\n{=(rule17):}\n\n{=(title18):}\n{=(keyword18):}\n{=(rule18):}\n\n{=(title19):}\n{=(keyword19):}\n{=(rule19):}\n\n{=(title20):}\n{=(keyword20):}\n{=(rule20):}\n\n{=(title21):}\n{=(keyword21):}\n{=(rule21):}\n\n{=(title22):}\n{=(keyword22):}\n{=(rule22):}\n\n{=(title23):}\n{=(keyword23):}\n{=(rule23):}\n\n{=(title24):}\n{=(keyword24):}\n{=(rule24):}\n\n{=(title25):}\n{=(keyword25):}\n{=(rule25):}\n\n{=(comment):Title overrides, don't touch except to translate \"Rule\" into a different language}\n{=(word4rule):Rule}\n\n\n{=(comment):Don't change anything below this comment}\n\n\n{=(t01):{if(!={title01}):{title01}|{word4rule} 1}}\n{=(t02):{if(!={title02}):{title02}|{word4rule} 2}}\n{=(t03):{if(!={title03}):{title03}|{word4rule} 3}}\n{=(t04):{if(!={title04}):{title04}|{word4rule} 4}}\n{=(t05):{if(!={title05}):{title05}|{word4rule} 5}}\n{=(t06):{if(!={title06}):{title06}|{word4rule} 6}}\n{=(t07):{if(!={title07}):{title07}|{word4rule} 7}}\n{=(t08):{if(!={title08}):{title08}|{word4rule} 8}}\n{=(t09):{if(!={title09}):{title09}|{word4rule} 9}}\n{=(t10):{if(!={title10}):{title10}|{word4rule} 10}}\n{=(t11):{if(!={title11}):{title11}|{word4rule} 11}}\n{=(t12):{if(!={title12}):{title12}|{word4rule} 12}}\n{=(t13):{if(!={title13}):{title13}|{word4rule} 13}}\n{=(t14):{if(!={title14}):{title14}|{word4rule} 14}}\n{=(t15):{if(!={title15}):{title15}|{word4rule} 15}}\n{=(t16):{if(!={title16}):{title16}|{word4rule} 16}}\n{=(t17):{if(!={title17}):{title17}|{word4rule} 17}}\n{=(t18):{if(!={title18}):{title18}|{word4rule} 18}}\n{=(t19):{if(!={title19}):{title19}|{word4rule} 19}}\n{=(t20):{if(!={title20}):{title20}|{word4rule} 20}}\n{=(t21):{if(!={title21}):{title21}|{word4rule} 21}}\n{=(t22):{if(!={title22}):{title22}|{word4rule} 22}}\n{=(t23):{if(!={title23}):{title23}|{word4rule} 23}}\n{=(t24):{if(!={title24}):{title24}|{word4rule} 24}}\n{=(t25):{if(!={title25}):{title25}|{word4rule} 25}}\n\n{=(comment):builds the list of rule numbers for rules that are populated}\n{=(rules):{if(!={rule01(1)}):01}{if(!={rule02(1)}): 02}{if(!={rule03(1)}): 03}{if(!={rule04(1)}): 04}{if(!={rule05(1)}): 05}{if(!={rule06(1)}): 06}{if(!={rule07(1)}): 07}{if(!={rule08(1)}): 08}{if(!={rule09(1)}): 09}{if(!={rule10(1)}): 10}{if(!={rule11(1)}): 11}{if(!={rule12(1)}): 12}{if(!={rule13(1)}): 13}{if(!={rule14(1)}): 14}{if(!={rule15(1)}): 15}{if(!={rule16(1)}): 16}{if(!={rule17(1)}): 17}{if(!={rule18(1)}): 18}{if(!={rule19(1)}): 19}{if(!={rule20(1)}): 20}{if(!={rule21(1)}): 21}{if(!={rule22(1)}): 22}{if(!={rule23(1)}): 23}{if(!={rule24(1)}): 24}{if(!={rule25(1)}): 25}}\n\n{=(comment):space saving measures that makes the whole thing way harder to read lmao}\n{=(r):replace}\n{=(ct):contains}\n\n{=(comment):Takes out the first channel mention present in args assuming it is present due to the desire for the rules to be sent to that channel}\n{=(sc):{if({in(<#):{args}}==true):{{r}({args({index(<#):{{r}(<#,. <# .):{args}}})},):{args}}|{args}}}\n{=(sc):{join( ):{sc}}}\n\n{=(keywords):{if(!={keyword01(1):,}):{keyword01}}{if(!={keyword02(1):,}): {keyword02}}{if(!={keyword03(1):,}): {keyword03}}{if(!={keyword04(1):,}): {keyword04}}{if(!={keyword05(1):,}): {keyword05}}{if(!={keyword06(1):,}): {keyword06}}{if(!={keyword07(1):,}): {keyword07}}{if(!={keyword08(1):,}): {keyword08}}{if(!={keyword09(1):,}): {keyword09}}{if(!={keyword10(1):,}): {keyword10}}{if(!={keyword11(1):,}): {keyword11}}{if(!={keyword12(1):,}): {keyword12}}{if(!={keyword13(1):,}): {keyword13}}{if(!={keyword14(1):,}): {keyword14}}{if(!={keyword15(1):,}): {keyword15}}{if(!={keyword16(1):,}): {keyword16}}{if(!={keyword17(1):,}): {keyword17}}{if(!={keyword18(1):,}): {keyword18}}{if(!={keyword19(1):,}): {keyword19}}{if(!={keyword20(1):,}): {keyword20}}{if(!={keyword21(1):,}): {keyword21}}{if(!={keyword22(1):,}): {keyword22}}{if(!={keyword23(1):,}): {keyword23}}{if(!={keyword24(1):,}): {keyword24}}{if(!={keyword25(1):,}): {keyword25}}}\n\n{=(comment):Checks if the arg present is a keyword, and if it is, changes it to a rule number}\n{=(lsc):{lower:{sc}}}\n{=(ws):{if(!={lsc(1)}):{if({in({lsc(1)}):{keywords}}==true):{index({lsc(1)}):{{r}({lsc(1)},. {lsc(1)} .):{keywords}}}|{lsc(1)}}|{lsc(1)}}}\n\n{=(comment):adds leading zeros to single digit numbers: adds ~ before and after the {ws} variable, joins with ~, replaces ~#~ with ~0#~, replaces ~ with spaces, then joins to remove leading/trailing spaces}\n{=(sani):{join( ):{{r}(~, ):{{r}(~1~,~01~):{{r}(~2~,~02~):{{r}(~3~,~03~):{{r}(~4~,~04~):{{r}(~5~,~05~):{{r}(~6~,~06~):{{r}(~7~,~07~):{{r}(~8~,~08~):{{r}(~9~,~09~):{join(~):~{ws}~}}}}}}}}}}}}}\n\n{=(comment):If the sanitized number does not match a number for a rule that exists, the tag displays the help window}\n{=(num):{if({{ct}({sani(1)}):{rules}}==true):{sani(1)}|00}}\n\n{=(t00):Rules Command Instructions}\n{=(rule00):Follow `{prefix}{tagname}` with the number or corresponding keyword of the rule you wish to output.\n\n**__{server}'s Keywords:__**\n{join(`, `):`{keywords}`}}\n{=():}\n{{if({in(<#):{args}}==true):redirect:{args({index(<#):{{r}(<#,. <# .):{args}}})}}}\n{embed(description):{if(!={ruleschannelid}):<#{ruleschannelid}>}}",
  "embed": "{\"color\": 3092790, \"fields\": [{\"name\": \"​{t{num}}\", \"value\": \"​{rule{num}}\", \"inline\": false}], \"footer\": {\"text\": \"Last updated on [20/04/2021]\"}}",
  "last_fetched": "2026-10-20T16:08:26.499Z"
}