Add passing in of token file

This commit is contained in:
benji7425 2017-09-14 21:57:11 +01:00
parent 1cfc7a19c3
commit 0601c29c85
2 changed files with 2 additions and 2 deletions

View File

@ -94,4 +94,4 @@ module.exports = {
viewFeeds viewFeeds
}; };
Core.bootstrap(module.exports, GuildData, require("./commands.json")); Core.bootstrap(require("../" + process.argv[2]), module.exports, GuildData, require("./commands.json"));

View File

@ -3,7 +3,7 @@
"main": "app/index.js", "main": "app/index.js",
"scripts": { "scripts": {
"postinstall": "cd ./discord-bot-core && npm install", "postinstall": "cd ./discord-bot-core && npm install",
"start": "node app/index.js" "start": "node app/index.js token.json"
}, },
"dependencies": { "dependencies": {
"discord.js": "11.1.0", "discord.js": "11.1.0",