Skip to content

Commit bed7b5b

Browse files
committed
Update invites array (i forgor this existed)
1 parent 712e218 commit bed7b5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/util/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ export const constants = {
233233
},
234234
invites: [
235235
/(?<domain>(?:dsc|dis|discord|invite)\.(?:gd|gg|io|me))\/(?<code>[\w-]+)/gim,
236-
/(?<domain>(?:discord(?:app)?|watchanimeattheoffice)\.com)\/(?:invites?|friend-invites?)\/(?<code>[\w-]+)/gim,
236+
/(?<domain>(?:discord(?:app)?|watchanimeattheoffice)\.com)\/(?:invites?|friend-invites?)(?:\/|\\)(?<code>[\w-]+)/gim,
237237
/(?<domain>(?:h\.|i\.)?inv\.wtf)\/(?<code>[\w-]+)/gim,
238238
],
239239
paypal: /(?:paypal\.me|paypal\.com\/paypalme)\/(?<name>[\w-]+)/im,

0 commit comments

Comments
 (0)