import { addPreSendListener } from "@api/MessageEvents"; import { Devs } from "@utils/constants"; import definePlugin, { PluginNative } from "@utils/types"; export const Native = VencordNative.pluginHelpers.SentFromMyUname as PluginNative; export default definePlugin({ name: "SentFromMyUname", description: "Add your uname to every single message you send", authors: [Devs.nin0dev], start() { addPreSendListener(async (c, msg) => { msg.content += `\n\nSent from my ${await Native.getUname()}`; }); } });