From c3731e181f55e641878b4f1bf48b76776bfd78b0 Mon Sep 17 00:00:00 2001 From: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com> Date: Sat, 23 Jul 2022 12:08:43 -0500 Subject: [PATCH] fix(publish): update `publish.ts` to sern 1.1.0-beta (#6) Co-authored-by: Evo --- TypeScript/publish.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/TypeScript/publish.ts b/TypeScript/publish.ts index ad9cac7..0c24dd5 100644 --- a/TypeScript/publish.ts +++ b/TypeScript/publish.ts @@ -1,8 +1,7 @@ // @ts-nocheck - /** * @author: @EvolutionX-10 - * @version: 1.0.0 + * @version: 1.1.0-beta * @description: This is publish plugin, it allows you to publish your slash commands with ease. * @license: MIT * @example: @@ -29,7 +28,7 @@ export function publish( type: PluginType.Command, description: "Manage Slash Commands", name: "slash-auto-publish", - async execute(client, module, controller) { + async execute({ client }, { absPath , mod: module }, controller) { function c(e: unknown) { console.error("publish command didnt work for", module.name!); console.error(e);