File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -84,9 +84,9 @@ const regex_types = [
84
84
output : document . getElementById ( "regex-output-invite-links" ) ,
85
85
generator : function ( settings ) {
86
86
if ( settings . third_party . checked ) {
87
- return "(?:https?://)?(?:www.|ptb.|canary.)?(?:discord(?:app)?\\.(?:(?:com|gg)/(?:invite|servers))| dsc\\.gg|invite\\.gg+ |discord\\.link|(?:discord\\.(?:gg|io|me|li|id))|disboard\\.org)/[a-z0-9-_]+" ;
87
+ return "(?:https?://)?(?:www.|ptb.|canary.)?(?:dsc\\.gg|invite\\.gg|discord\\.link|(?:discord\\.(?:gg|io|me|li|id))|disboard\\.org|discord(?:app)?\\.(?:com|gg)/(?:invite|servers) )/[a-z0-9-_]+" ;
88
88
} else {
89
- return `(?:https?://)?(?:www.|ptb.|canary.)?(?:discord(?:app)?\\.(?:(?: com|gg)/(?:invite|servers)/[a-z0-9-_]+)|discord\\.gg /[a-z0-9-_]+) ` ;
89
+ return `(?:https?://)?(?:www.|ptb.|canary.)?(?:discord\.gg|discord (?:app)?\\.(?:com|gg)/(?:invite|servers)) /[a-z0-9-_]+` ;
90
90
} ;
91
91
} ,
92
92
setting_elements : {
You can’t perform that action at this time.
0 commit comments