Updated exports
This commit is contained in:
@@ -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 }
|
||||
}
|
||||
@@ -79,6 +79,4 @@ export default function loadModalEvents(client: Client, ft: FileType) {
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
export { loadModalEvents }
|
||||
}
|
||||
Reference in New Issue
Block a user