Update index.js
This commit is contained in:
1 parent
2b17e5f842
commit
04de6e6fc0
1 file changed
+3
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user