From 1beccb57bae8265759fc0853c6574a0c7fe2f8d0 Mon Sep 17 00:00:00 2001 From: DjDeveloperr Date: Sun, 25 Apr 2021 16:28:48 +0530 Subject: [PATCH] fix --- deploy.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/deploy.ts b/deploy.ts index 307ee33..793ff82 100644 --- a/deploy.ts +++ b/deploy.ts @@ -42,8 +42,12 @@ let commands: SlashCommandsManager * * @param options Initialization options */ -export function init(options: { env: boolean }): void -export function init(options: { publicKey: string; token?: string }): void +export function init(options: { env: boolean; path?: string }): void +export function init(options: { + publicKey: string + token?: string + path?: string +}): void export function init(options: DeploySlashInitOptions): void { if (client !== undefined) throw new Error('Already initialized') if (options.env === true) {