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