From 73a2f5548a57f5531531e7c2bca19f4849dfbcc4 Mon Sep 17 00:00:00 2001 From: byron <47872200+byeoon@users.noreply.github.com> Date: Wed, 13 Mar 2024 18:03:31 -0400 Subject: [PATCH] now* it's ready --- src/plugins/WebhookManager/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/WebhookManager/index.tsx b/src/plugins/WebhookManager/index.tsx index bf6860f0f..30d8bd9ce 100644 --- a/src/plugins/WebhookManager/index.tsx +++ b/src/plugins/WebhookManager/index.tsx @@ -166,7 +166,7 @@ export default definePlugin({ else { Native.executeWebhook("" + webhookUrl, { content: webhookMessage, - username: webhookUsername ?? fetch("" + webhookUrl).then(response => response.json().then(response => { response.name; })), + username: webhookUsername ?? fetch("" + webhookUrl).then(response => response.json().then(response => { webhookUsername = response.name; })), avatar_url: "", tts: findOption(option, "tts") });