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[] = []
|
||||||
@@ -114,6 +114,4 @@ async function autoDeployCommands(fileType: FileType) {
|
|||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(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