mirror of
https://github.com/Vendicated/Vencord.git
synced 2024-09-20 06:30:35 +00:00
fixed lint
This commit is contained in:
parent
28f70e2942
commit
7f36d8569f
1 changed files with 2 additions and 2 deletions
|
@ -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: ""
|
||||||
|
|
Loading…
Reference in a new issue