aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/clearURLs/index.ts
diff options
context:
space:
mode:
authormegumin <megumin.bakaretsurie@gmail.com>2022-11-11 22:50:09 +0000
committerGitHub <noreply@github.com>2022-11-11 23:50:09 +0100
commit30ca4f1cf9cc1a4179f5c7ef5cfb47eaff83f56a (patch)
tree8ee2a9e7f83ba8c3c2441636e5d122de3aa663b4 /src/plugins/clearURLs/index.ts
parent62e0787cf25a76881fac79b5f3df0ebda706bb21 (diff)
downloadVencord-30ca4f1cf9cc1a4179f5c7ef5cfb47eaff83f56a.tar.gz
Vencord-30ca4f1cf9cc1a4179f5c7ef5cfb47eaff83f56a.tar.bz2
Vencord-30ca4f1cf9cc1a4179f5c7ef5cfb47eaff83f56a.zip
feat: Badge API (#206)
Diffstat (limited to 'src/plugins/clearURLs/index.ts')
-rw-r--r--src/plugins/clearURLs/index.ts8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/plugins/clearURLs/index.ts b/src/plugins/clearURLs/index.ts
index be0b802..b01faed 100644
--- a/src/plugins/clearURLs/index.ts
+++ b/src/plugins/clearURLs/index.ts
@@ -23,6 +23,7 @@ import {
removePreEditListener,
removePreSendListener,
} from "../../api/MessageEvents";
+import { Devs } from "../../utils/constants";
import definePlugin from "../../utils/types";
import { defaultRules } from "./defaultRules";
@@ -33,12 +34,7 @@ const reHasRegExpChar = RegExp(reRegExpChar.source);
export default definePlugin({
name: "clearURLs",
description: "Removes tracking garbage from URLs",
- authors: [
- {
- name: "adryd",
- id: 0n,
- },
- ],
+ authors: [Devs.adryd],
dependencies: ["MessageEventsAPI"],
escapeRegExp(str: string) {