fixed lint

This commit is contained in:
byron 2024-05-01 18:07:11 -04:00
parent 28f70e2942
commit 7f36d8569f

View file

@ -32,7 +32,7 @@ export default definePlugin({
], ],
execute: async (option, ctx) => { execute: async (option, ctx) => {
try { 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) { catch (error) {
sendBotMessage(ctx.channel.id, { sendBotMessage(ctx.channel.id, {
@ -64,7 +64,7 @@ export default definePlugin({
{ {
title: "Webhook Information", title: "Webhook Information",
color: "1323", color: "1323",
//@ts-ignore // @ts-ignore
author: { author: {
name: response.name, name: response.name,
url: "" url: ""