now* it's ready

This commit is contained in:
byron 2024-03-13 18:03:31 -04:00
parent 2da6a64748
commit 73a2f5548a

View file

@ -166,7 +166,7 @@ export default definePlugin({
else { else {
Native.executeWebhook("" + webhookUrl, { Native.executeWebhook("" + webhookUrl, {
content: webhookMessage, 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: "", avatar_url: "",
tts: findOption(option, "tts") tts: findOption(option, "tts")
}); });