Updated exports

This commit is contained in:
2024-01-10 18:32:10 +01:00
parent 4090446dee
commit 52f170c4a8
2 changed files with 3 additions and 7 deletions

View File

@@ -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 }
}

View File

@@ -79,6 +79,4 @@ export default function loadModalEvents(client: Client, ft: FileType) {
}
}
})
}
export { loadModalEvents }
}