Updated env
This commit is contained in:
@@ -3,7 +3,7 @@ import fs from "fs"
|
||||
import { ICommand } from "../src/interfaces"
|
||||
import env from "../src/utils/Env"
|
||||
import { log } from "../src/utils/Logger.js"
|
||||
const rest = new REST({ version: "10" }).setToken(env.dev.devtoken)
|
||||
const rest = new REST({ version: "10" }).setToken(env.dev.DEVTOKEN)
|
||||
|
||||
const commands: RESTPutAPIApplicationCommandsJSONBody = []
|
||||
const commandFiles = fs.readdirSync("./src/commands/").filter(file => file.endsWith(".ts"))
|
||||
|
||||
Reference in New Issue
Block a user