Updated exports
This commit is contained in:
@@ -10,7 +10,7 @@ import {
|
|||||||
import fs = require("fs")
|
import fs = require("fs")
|
||||||
type FileType = "js" | "ts"
|
type FileType = "js" | "ts"
|
||||||
|
|
||||||
async function autoDeployCommands(fileType: FileType) {
|
export default async function autoDeployCommands(fileType: FileType) {
|
||||||
const commands = []
|
const commands = []
|
||||||
let commandFiles: string[] = []
|
let commandFiles: string[] = []
|
||||||
let contentMenuCommands: string[] = []
|
let contentMenuCommands: string[] = []
|
||||||
@@ -115,5 +115,3 @@ async function autoDeployCommands(fileType: FileType) {
|
|||||||
console.error(error)
|
console.error(error)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export { autoDeployCommands }
|
|
||||||
|
|||||||
@@ -80,5 +80,3 @@ export default function loadModalEvents(client: Client, ft: FileType) {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export { loadModalEvents }
|
|
||||||
|
|||||||
Reference in New Issue
Block a user