-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathregexes.html
219 lines (204 loc) · 10.9 KB
/
regexes.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
<!-- MIT License
Copyright (c) 2023 - 2025 treeben77
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. -->
<head>
<title>Regexes - AutoMod Regex Generator</title>
<meta property="og:title" content="Regexes - AutoMod Regex Generator"/>
<meta property="og:description" content="Block messages with zalgo, too many emojis, too many newlines, and more!"/>
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width, user-scalable=no"/>
<link rel="stylesheet" href="static/main.css">
</head>
<body>
<div class="banner-notification banner-critical" id="javascript-disabled">
Enable JavaScript to generate regexes.
</div>
<div class="banner-notification banner-error" id="javascript-disabled-secondary">
Enable JavaScript to generate regexes.
</div>
<script>
document.getElementById("javascript-disabled").hidden = true;
document.getElementById("javascript-disabled-secondary").hidden = true;
</script>
<div class="header">
<a href="/automod-regex-generator/">AutoMod Regex Generator</a>
<div class="pages">
<b href="regexes.html">Regexes</b>
</div>
</div>
<div class="content">
<p>Customize and copy pre-built regexes for Discord's AutoMod that can block links, emoji spam, and more!</p>
<div class="spam-grid">
<div class="spam-type" id="links">
<a class="spam-name">All Links</a>
<div class="grid-row">
<p>Blocks all links, along with known bypassing methods. You should use this with allow keywords.</p>
<div class="setting">
<div class="title-with-setting">
<input type="checkbox" id="include-nonclickable" checked>
Include Non-Clickable Links
</div>
<p>When enabled, this will block links without the <code>https://</code> but <a class="warning-description">this can cause some false negatives.</a></p>
</div>
<div class="regex-results">
<button class="copy-regex" id="copy-regex-links">Copy</button>
<a class="regex-output" id="regex-output-links">
h[e3]ll[o0] w[o0]rld
</a>
</div>
<p class="post-regex-p">If your server discovers a new bypass, please report it in the <a class="link" href="https://discord.gg/4CSc9E5uQy">Discord</a> server.</p>
</div>
</div>
<div class="spam-type" id="invite-links">
<a class="spam-name">Invite Links</a>
<div class="grid-row">
<p>Blocks Discord invite and offical server page links.</p>
<div class="setting">
<div class="title-with-setting">
<input type="checkbox" id="include-3rdparty">
Include 3rd Party Invites
</div>
<p>Include 3rd party invite links such as dsc.gg/treeben77.</p>
</div>
<div class="regex-results">
<button class="copy-regex" id="copy-regex-invite-links">Copy</button>
<a class="regex-output" id="regex-output-invite-links">
h[e3]ll[o0] w[o0]rld
</a>
</div>
<p class="regex-credits">Credits to <a class="link" href="https://github.com/Firecul" target="_blank" rel="noopener noreferrer">Firecul</a> for some of the third party invite URLs.</p>
</div>
</div>
<div class="spam-type" id="emoji-spam">
<a class="spam-name">Emoji Spam</a>
<div class="grid-row">
<p>Prevents emoji spam in messages by setting a limit for each message.</p>
<div class="setting">
<div>
Maximum Allowed Emojis<br>
</div>
<div class="setting-below-title">
<a id="emoji-range-value">0</a> <input type="range" id="emoji-range" min="0" max="12" value="6">
</div>
<p>Maximum number of standarad and custom emojis per message. The highest possible is 12 due to Discord limitations.</p>
</div>
<div class="regex-results">
<button class="copy-regex" id="copy-regex-emoji">Copy</button>
<a class="regex-output" id="regex-output-emoji">
h[e3]ll[o0] w[o0]rld
</a>
</div>
</div>
</div>
<div class="spam-type" id="zalgo">
<a class="spam-name">Zalgo</a>
<div class="grid-row">
<p>Zalgo text is designed to make the message obfucated, and be very annoying for other members. (e.g. h̵̅ͅȇ̴̫l̸͇͌l̸̝͛ȍ̴̱) <a class="warning-description">Some complex emojis will be blocked.</a></p>
<div class="setting">
<div class="title-with-setting">
<input type="checkbox" id="filter-accents">
Filter Accents
</div>
<p>When disabled, messages with accents will be allowed (e.g. héllo) but this can also cause some false negatives.</p>
</div>
<div class="regex-results">
<button class="copy-regex" id="copy-regex-zalgo">Copy</button>
<a class="regex-output" id="regex-output-zalgo">
h[e3]ll[o0] w[o0]rld
</a>
</div>
</div>
</div>
<div class="spam-type" id="headings">
<a class="spam-name">Headings</a>
<div class="grid-row">
<p>Prevents headings from being used to make message text larger.</p>
<div class="setting">
<div>
Lowest Allowed Heading<br>
</div>
<div class="setting-below-title">
<a id="headn-range-value">-</a> <input type="range" id="headn-range" min="2" max="4" value="4">
</div>
<p>The lowest/biggest heading allowed. Set to max to block all headings.</p>
</div>
<div class="regex-results">
<button class="copy-regex" id="copy-regex-headn">Copy</button>
<a class="regex-output" id="regex-output-headn">
h[e3]ll[o0] w[o0]rld
</a>
</div>
</div>
</div>
<div class="spam-type" id="inline-links">
<a class="spam-name">Inline Links</a>
<div class="grid-row">
<p>Blocks links that show custom text and hide the actual link.</p>
<div class="setting">
<div class="title-with-setting">
<input type="checkbox" id="filter-disguised-only">
Disguised URLs only
</div>
<p>When enabled, it will only block inline links that appear as a domain. For example: [example.com](treeben77.xyz)</p>
</div>
<div class="regex-results">
<button class="copy-regex" id="copy-regex-inline-links">Copy</button>
<a class="regex-output" id="regex-output-inline-links">
h[e3]ll[o0] w[o0]rld
</a>
</div>
</div>
</div>
<div class="spam-type" id="subtext">
<a class="spam-name">Subtext</a>
<div class="grid-row">
<p>Blocks messages which contain subtext, which is smaller text that may be used to create convincing fake offical Discord notices.</p>
<div class="regex-results">
<button class="copy-regex" id="copy-regex-subtext">Copy</button>
<a class="regex-output" id="regex-output-subtext">
h[e3]ll[o0] w[o0]rld
</a>
</div>
</div>
</div>
<div class="spam-type" id="email-address">
<a class="spam-name">Email Addresses</a>
<div class="grid-row">
<p>Prevents email addresses from being sent.</p>
<div class="regex-results">
<button class="copy-regex" id="copy-regex-email">Copy</button>
<a class="regex-output" id="regex-output-email">
h[e3]ll[o0] w[o0]rld
</a>
</div>
</div>
</div>
</div>
<!-- newline spam was here -->
<script src="static/regexes.js"></script>
</div>
<div class="footer">
<div class="footer-left">
AutoMod Regex Generator
<p class="footer-copyright">© treeben77 2023 - 2025. Not affiliated with Discord.</p>
</div>
<div class="footer-right">
<p>Made by <a class="link" href="https://treeben77.xyz">treeben77</a></p>
<p>Join the <a class="link" href="https://discord.gg/4CSc9E5uQy">Discord Server</a></p>
<p>View the source on <a class="link" href="https://github.com/treeben77/automod-regex-generator">GitHub</a></p>
</div>
</div>
</body>