mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-17 02:17:03 -04:00
feat: Badge API (#206)
This commit is contained in:
parent
62e0787cf2
commit
30ca4f1cf9
18 changed files with 237 additions and 82 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue