diff options
author | Ven <vendicated@riseup.net> | 2022-11-14 18:05:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-14 18:05:41 +0100 |
commit | 82e444e19635a72d2e1c4d043840bdfd358fa120 (patch) | |
tree | 85e4bc94fb6c9a7bebc3a56e311fdf967aeeb2d5 /src/plugins/clearURLs | |
parent | a96f8a89f36ccb980334da2274385373aa3ffb24 (diff) | |
download | Vencord-82e444e19635a72d2e1c4d043840bdfd358fa120.tar.gz Vencord-82e444e19635a72d2e1c4d043840bdfd358fa120.tar.bz2 Vencord-82e444e19635a72d2e1c4d043840bdfd358fa120.zip |
Less confusing plugin names (bulk plugin rename) (#214)
Co-authored-by: Nuckyz <61953774+Nuckyz@users.noreply.github.com>
Diffstat (limited to 'src/plugins/clearURLs')
-rw-r--r-- | src/plugins/clearURLs/index.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/clearURLs/index.ts b/src/plugins/clearURLs/index.ts index b01faed..f5b8909 100644 --- a/src/plugins/clearURLs/index.ts +++ b/src/plugins/clearURLs/index.ts @@ -21,8 +21,9 @@ import { addPreSendListener, MessageObject, removePreEditListener, - removePreSendListener, + removePreSendListener } from "../../api/MessageEvents"; +import { migratePluginSettings } from "../../api/settings"; import { Devs } from "../../utils/constants"; import definePlugin from "../../utils/types"; import { defaultRules } from "./defaultRules"; @@ -31,8 +32,9 @@ import { defaultRules } from "./defaultRules"; const reRegExpChar = /[\\^$.*+?()[\]{}|]/g; const reHasRegExpChar = RegExp(reRegExpChar.source); +migratePluginSettings("ClearURLs", "clearURLs"); export default definePlugin({ - name: "clearURLs", + name: "ClearURLs", description: "Removes tracking garbage from URLs", authors: [Devs.adryd], dependencies: ["MessageEventsAPI"], |