deploy-commands.js cleanup

This commit is contained in:
baz 2023-11-27 23:41:23 +00:00
parent b4b4329aeb
commit ca68c4a017
1 changed files with 3 additions and 3 deletions

View File

@ -1,10 +1,10 @@
const { REST, Routes } = require('discord.js');
const fs = require('node:fs');
const path = require('node:path');
const { config } = require('dotenv');
config();
const fs = require('node:fs');
const path = require('node:path');
const commands = [];
// Grab all the command files from the commands directory you created earlier
const foldersPath = path.join(__dirname, 'commands');