From 1231b1b5a4239a0eccf1a6a56b9be0a031866c8b Mon Sep 17 00:00:00 2001 From: duke Date: Sun, 29 Dec 2024 11:57:25 -0500 Subject: [PATCH] massive improvement --- index.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/index.ts b/index.ts index 36db3a8..2f6a424 100644 --- a/index.ts +++ b/index.ts @@ -6,6 +6,10 @@ import definePlugin, { OptionType, PluginNative } from "@utils/types"; export const Native = VencordNative.pluginHelpers.SentFromMyUname as PluginNative; async function getWhateverShouldBeSentFromMy() { + if (Settings.plugins.SentFromMyUname.signatureToUse === "iPhone") { + return "iPhone"; + } + if ((IS_DISCORD_DESKTOP || IS_VESKTOP) && Settings.plugins.SentFromMyUname.signatureToUse === "uname") { try { return await Native.getUname(); @@ -31,6 +35,9 @@ export default definePlugin({ }, { label: "Always use useragent", value: "useragent" + }, { + label: "Sent from my iPhone", + value: "iPhone" }], default: "uname" }, -- 2.45.2