diff options
author | megumin <megumin.bakaretsurie@gmail.com> | 2022-11-11 22:50:09 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-11 23:50:09 +0100 |
commit | 30ca4f1cf9cc1a4179f5c7ef5cfb47eaff83f56a (patch) | |
tree | 8ee2a9e7f83ba8c3c2441636e5d122de3aa663b4 /src/plugins/clearURLs | |
parent | 62e0787cf25a76881fac79b5f3df0ebda706bb21 (diff) | |
download | Vencord-30ca4f1cf9cc1a4179f5c7ef5cfb47eaff83f56a.tar.gz Vencord-30ca4f1cf9cc1a4179f5c7ef5cfb47eaff83f56a.tar.bz2 Vencord-30ca4f1cf9cc1a4179f5c7ef5cfb47eaff83f56a.zip |
feat: Badge API (#206)
Diffstat (limited to 'src/plugins/clearURLs')
-rw-r--r-- | src/plugins/clearURLs/index.ts | 8 |
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) { |