diff --git a/src/equicordplugins/pinIcon/index.tsx b/src/equicordplugins/pinIcon/index.tsx
new file mode 100644
index 00000000..6143bea4
--- /dev/null
+++ b/src/equicordplugins/pinIcon/index.tsx
@@ -0,0 +1,40 @@
+/*
+ * Vencord, a modification for Discord's desktop app
+ * Copyright (c) 2022 Vendicated and contributors
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+*/
+
+import { EquicordDevs } from "@utils/constants";
+import definePlugin from "@utils/types";
+import { Icons } from "@webpack/common";
+import { Message } from "discord-types/general";
+
+export default definePlugin({
+ name: "PinIcon",
+ description: "Adds a pin icon to pinned messages",
+ authors: [EquicordDevs.iamme],
+ patches: [
+ {
+ find: ".Messages.MESSAGE_EDITED,",
+ replacement: {
+ match: /(children:\[null!=\i.+?(?:[^}]*[}]){3}\))/,
+ replace: "$1,$self.PinnedIcon(arguments[0].message)"
+ }
+ }
+ ],
+ PinnedIcon({ pinned }: Message) {
+ return pinned ? : null;
+ }
+});
diff --git a/src/utils/constants.ts b/src/utils/constants.ts
index 9e731104..6769fe24 100644
--- a/src/utils/constants.ts
+++ b/src/utils/constants.ts
@@ -913,6 +913,10 @@ export const EquicordDevs = Object.freeze({
name: "arHSM",
id: 841509053422632990n
},
+ iamme: {
+ name: "i am me",
+ id: 984392761929256980n
+ },
creations: {
name: "Creation's",
id: 209830981060788225n