mirror of
https://github.com/sern-handler/awesome-plugins
synced 2026-06-06 01:16:51 +00:00
fix(publish): update publish.ts to sern 1.1.0-beta (#6)
Co-authored-by: Evo <evolutionx9777@gmail.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user