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" },