mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-02 22:16:13 +00:00
feat: update paths to typescript /dist
This commit is contained in:
1 parent
92b1992b1a
commit
c3891f9c2d
6 files changed
+13
-12
No files matched your search
@@ -17,10 +17,10 @@ const logger = require('../services/logger').child({
|
||||
|
||||
const slashCommands = [];
|
||||
const systemCommands = [];
|
||||
const commandFolders = fs.readdirSync(path.resolve('./src/commands'));
|
||||
const commandFolders = fs.readdirSync(path.resolve('./dist/commands'));
|
||||
for (const folder of commandFolders) {
|
||||
const commandFiles = fs
|
||||
.readdirSync(path.resolve(`./src/commands/${folder}`))
|
||||
.readdirSync(path.resolve(`./dist/commands/${folder}`))
|
||||
.filter((file) => file.endsWith('.js'));
|
||||
|
||||
for (const file of commandFiles) {
|
||||
|
||||
Reference in new issue
Block a user