so @quartz kindle will it be like this now
const Discord = require("discord.js");
const client = new Discord.Client();
const fs = require('fs');
const prefix = ("bow");
client.commands = new Discord.Collection();
const commandFiles = fs.readdirSync(`./Commands/`)
for(const file of commandFiles){
const command = require(`./Commands/${file}`);
const name = file.split('.')[0];
client.commands.set(name, command);
}
client.on("ready", () => {
console.log("bow bot is online!!");
});
client.on("message", (message) => {
if (!message.content.startsWith(prefix) || message.author.bot) return;
const args = message.content.slice(prefix.length).split(/ +/);
const command = args.shift().toLowerCase();
if(client.commands.has(command)) {
cliebnt.commands.get(command).execute()
}
}
)
client.login('NzI1NjMwMjkwNTg3ODExOTQ5.Xw8Hwg.er_YArUZDJyBOs0sQyvRwXvFsd')












