diff --git a/src/models/Webhook.ts b/src/models/Webhook.ts index 4660686d..7379e98f 100644 --- a/src/models/Webhook.ts +++ b/src/models/Webhook.ts @@ -80,4 +80,5 @@ WebhookSchema.virtual("source_channel", { WebhookSchema.set("removeResponse", ["source_channel_id", "source_guild_id"]); +// @ts-ignore export const WebhookModel = db.model("Webhook", WebhookSchema, "webhooks");