From 7f36d8569f45fdad0be7aebcd17d4ae417ef6c12 Mon Sep 17 00:00:00 2001 From: byron <47872200+byeoon@users.noreply.github.com> Date: Wed, 1 May 2024 18:07:11 -0400 Subject: [PATCH] fixed lint --- src/plugins/WebhookManager/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/WebhookManager/index.tsx b/src/plugins/WebhookManager/index.tsx index 732fb8281..86e603297 100644 --- a/src/plugins/WebhookManager/index.tsx +++ b/src/plugins/WebhookManager/index.tsx @@ -32,7 +32,7 @@ export default definePlugin({ ], execute: async (option, ctx) => { try { - await fetch("" + findOption(option, "url"), { method: 'DELETE' }).then(() => sendBotMessage(ctx.channel.id, { content: "The webhook has deleted successfully." })); + await fetch("" + findOption(option, "url"), { method: "DELETE" }).then(() => sendBotMessage(ctx.channel.id, { content: "The webhook has deleted successfully." })); } catch (error) { sendBotMessage(ctx.channel.id, { @@ -64,7 +64,7 @@ export default definePlugin({ { title: "Webhook Information", color: "1323", - //@ts-ignore + // @ts-ignore author: { name: response.name, url: ""