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);