이세린

es6 isn't working. Import Discord error.

Showing 1 changed file with 6 additions and 6 deletions
......@@ -11,12 +11,12 @@ client.commands = new Discord.Collection();
const commandFiles = fs.readdirSync('./commands').filter(file => file.endsWith('.js'));
import breathe from './commands/breathe';
import calm from './commands/calm';
import chat from './commands/chat';
import checklist from './commands/checklist';
import cute from './commands/cute';
import help from './commands/help';
import breathe from './commands/breathe.js';
import calm from './commands/calm.js';
import chat from './commands/chat.js';
import checklist from './commands/checklist.js';
import cute from './commands/cute.js';
import help from './commands/help.js';
for(const file of commandFiles){
//const command = require(`./commands/${file}`);
......