fix: small bug with webhook execution & added vee to devs because they helped a lot (tysm)

This commit is contained in:
byeoon 2024-06-10 09:37:37 -04:00 committed by GitHub
parent 070b25e813
commit 8696ca0706
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,7 +13,7 @@ const Native = VencordNative.pluginHelpers.WebhookManager as PluginNative<typeof
export default definePlugin({ export default definePlugin({
name: "WebhookManager", name: "WebhookManager",
description: "Manage your webhooks easily; delete, send messages, get detailed info and more.", description: "Manage your webhooks easily; delete, send messages, get detailed info and more.",
authors: [Devs.Byeoon], authors: [Devs.Byeoon, Devs.Ven],
dependencies: ["CommandsAPI"], dependencies: ["CommandsAPI"],
commands: [ commands: [
{ {
@ -140,8 +140,7 @@ export default definePlugin({
Native.executeWebhook(webhookUrl, { Native.executeWebhook(webhookUrl, {
content: content, content: content,
username: username, username: username,
avatar_url: avatarUrl, avatar_url: avatarUrl
tts: findOption(option, "tts"),
}); });
} }
sendBotMessage(ctx.channel.id, { sendBotMessage(ctx.channel.id, {