From 0bdd4100bd7a85d4b197d63674df296f350dcb68 Mon Sep 17 00:00:00 2001 From: EvolutionX Date: Sat, 6 Aug 2022 13:09:27 +0530 Subject: [PATCH] chore: done --- src/commands/plugin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/plugin.ts b/src/commands/plugin.ts index f48114c..24cbd7c 100644 --- a/src/commands/plugin.ts +++ b/src/commands/plugin.ts @@ -50,7 +50,7 @@ export default commandModule({ async execute(ctx, [, options]) { const url = options.getString("plugin", true) as string; const name = ctx.client.cache?.findKey((d) => d.download_url === url); - let data = await fetch(url, { method: "GET" }) + let data = await fetch(url) .then((r) => r.text()) .catch(() => null); if (!data || !name)