mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-27 23:44:25 -04:00
New Plugin
This commit is contained in:
parent
96df3abaac
commit
d2f9356f84
12 changed files with 72 additions and 37 deletions
|
@ -5,7 +5,6 @@
|
|||
*/
|
||||
|
||||
import { NavContextMenuPatchCallback } from "@api/ContextMenu";
|
||||
import { migratePluginSettings } from "@api/Settings";
|
||||
import { CodeBlock } from "@components/CodeBlock";
|
||||
import ErrorBoundary from "@components/ErrorBoundary";
|
||||
import { Devs } from "@utils/constants";
|
||||
|
@ -24,8 +23,6 @@ import definePlugin from "@utils/types";
|
|||
import { Forms, Menu, Text } from "@webpack/common";
|
||||
import { Message } from "discord-types/general";
|
||||
|
||||
migratePluginSettings("ViewRawVariant", "ViewRaw2");
|
||||
|
||||
type CustomMessage = Message & {
|
||||
editHistory?: any;
|
||||
deleted?: any;
|
||||
|
@ -130,8 +127,7 @@ function makeContextCallback(
|
|||
|
||||
export default definePlugin({
|
||||
name: "ViewRawVariant",
|
||||
description:
|
||||
"Copy/View raw content of any message, channel, or guild, but show in the right click menu.",
|
||||
description: "Copy/View raw content of any message, channel, or guild, but show in the right click menu.",
|
||||
authors: [Devs.KingFish, Devs.Ven, Devs.rad, Devs.ImLvna, Devs.Kyuuhachi],
|
||||
contextMenus: {
|
||||
"guild-context": makeContextCallback("guild", val =>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue