diff --git a/src/utils/Autodeploy.ts b/src/utils/Autodeploy.ts index 3e4848b..80ccc32 100644 --- a/src/utils/Autodeploy.ts +++ b/src/utils/Autodeploy.ts @@ -10,7 +10,7 @@ import { import fs = require("fs") type FileType = "js" | "ts" -async function autoDeployCommands(fileType: FileType) { +export default async function autoDeployCommands(fileType: FileType) { const commands = [] let commandFiles: string[] = [] let contentMenuCommands: string[] = [] @@ -114,6 +114,4 @@ async function autoDeployCommands(fileType: FileType) { } catch (error) { console.error(error) } -} - -export { autoDeployCommands } +} \ No newline at end of file diff --git a/src/utils/eventHandlers/modal.ts b/src/utils/eventHandlers/modal.ts index 94a0d05..4c5b3b9 100644 --- a/src/utils/eventHandlers/modal.ts +++ b/src/utils/eventHandlers/modal.ts @@ -79,6 +79,4 @@ export default function loadModalEvents(client: Client, ft: FileType) { } } }) -} - -export { loadModalEvents } +} \ No newline at end of file