fxTwitter (plugin) (#80)

Co-authored-by: splatterxl <splatterxl@outlook.ie>
Co-authored-by: Ven <vendicated@riseup.net>
This commit is contained in:
Berlin 2022-10-10 22:45:54 +02:00 committed by GitHub
parent 124d1ad9c7
commit 54198b1a4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 28 additions and 1 deletions

View file

@ -1,10 +1,11 @@
import definePlugin from "../utils/types";
import { addPreSendListener, MessageObject, removePreSendListener } from "../api/MessageEvents";
import { Devs } from "../utils/constants";
export default definePlugin({
name: "NoCanaryMessageLinks",
description: "Removes the canary and ptb prefix from message links",
authors: [{ name: "ICodeInAssembly", id: 702973430449832038n }],
authors: [Devs.Samu],
dependencies: ["MessageEventsAPI"],
removeBetas(msg: MessageObject) {