diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-08-13 16:45:11 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-08-13 16:45:11 -0400 |
commit | 7a5a48dca0ac1c170c026d5da244c3ecb9326712 (patch) | |
tree | b254566ada5a590f4f2bda1f471a91c4ec2fd255 | |
parent | e301238dd9a7de5c43870c438245f7a9900696b8 (diff) | |
download | tanzanite-7a5a48dca0ac1c170c026d5da244c3ecb9326712.tar.gz tanzanite-7a5a48dca0ac1c170c026d5da244c3ecb9326712.tar.bz2 tanzanite-7a5a48dca0ac1c170c026d5da244c3ecb9326712.zip |
fix <> to ignore quoting
-rw-r--r-- | src/lib/utils/BushConstants.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/utils/BushConstants.ts b/src/lib/utils/BushConstants.ts index abac4af..090616c 100644 --- a/src/lib/utils/BushConstants.ts +++ b/src/lib/utils/BushConstants.ts @@ -165,7 +165,7 @@ export const regex = deepLock({ */ /** **This has the global flag, make sure to handle it correctly.** */ messageLink: - /<?(?:ptb\.|canary\.|staging\.)?discord(?:app)?\.com?\/channels\/(?<guild_id>\d{15,21})\/(?<channel_id>\d{15,21})\/(?<message_id>\d{15,21})>?/gim + /<?https:\/\/(?:ptb\.|canary\.|staging\.)?discord(?:app)?\.com?\/channels\/(?<guild_id>\d{15,21})\/(?<channel_id>\d{15,21})\/(?<message_id>\d{15,21})>?/gim } as const); /** |