Update index.js

This commit is contained in:
ItzEmerald authored and GitHub committed 2020-01-25 13:48:02 +00:00
1 parent 2b17e5f842
commit 04de6e6fc0
1 file changed
+3
+3
View File
@@ -15,6 +15,9 @@ const bot = new Discord.Client();
bot.commands = new Discord.Collection();
bot.settings = require("./settings.json");
const yaml = require('js-yaml');
const supportbot.settings = yaml.load(fs.readFileSync('./supportbot-config.yml', 'utf8'));
fs.readdir("./commands/", (err, files) => {
if(err) console.log(err);