aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/showHiddenChannels/index.tsx
diff options
context:
space:
mode:
authorNuckyz <61953774+Nuckyz@users.noreply.github.com>2023-03-19 04:53:00 -0300
committerGitHub <noreply@github.com>2023-03-19 04:53:00 -0300
commit0fb79b763d797d70d2eb6d847b0bf711c9927337 (patch)
treeb95674e930baa1a9b3651185e990b46acd82f871 /src/plugins/showHiddenChannels/index.tsx
parent5873bde6a62857f92f3fb3d756914cc1efd0ec25 (diff)
downloadVencord-0fb79b763d797d70d2eb6d847b0bf711c9927337.tar.gz
Vencord-0fb79b763d797d70d2eb6d847b0bf711c9927337.tar.bz2
Vencord-0fb79b763d797d70d2eb6d847b0bf711c9927337.zip
Improvements, changes and fixes (#611)
Diffstat (limited to 'src/plugins/showHiddenChannels/index.tsx')
-rw-r--r--src/plugins/showHiddenChannels/index.tsx4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/showHiddenChannels/index.tsx b/src/plugins/showHiddenChannels/index.tsx
index 70c5045..eb49468 100644
--- a/src/plugins/showHiddenChannels/index.tsx
+++ b/src/plugins/showHiddenChannels/index.tsx
@@ -321,9 +321,7 @@ export default definePlugin({
],
},
{
- // The module wasn't being found, so lets just escape everything
- // eslint-disable-next-line no-useless-escape
- find: "\^https\:\/\/\(\?\:canary\.\|ptb\.\)\?discord.com\/channels\/\(\\\\\d\+\|",
+ find: "\"^/guild-stages/(\\\\d+)(?:/)?(\\\\d+)?\"",
replacement: {
// Make mentions of hidden channels work
match: /\i\.\i\.can\(\i\.\i\.VIEW_CHANNEL,\i\)/,