Add passing in of token file
This commit is contained in:
parent
1cfc7a19c3
commit
0601c29c85
|
@ -94,4 +94,4 @@ module.exports = {
|
|||
viewFeeds
|
||||
};
|
||||
|
||||
Core.bootstrap(module.exports, GuildData, require("./commands.json"));
|
||||
Core.bootstrap(require("../" + process.argv[2]), module.exports, GuildData, require("./commands.json"));
|
|
@ -3,7 +3,7 @@
|
|||
"main": "app/index.js",
|
||||
"scripts": {
|
||||
"postinstall": "cd ./discord-bot-core && npm install",
|
||||
"start": "node app/index.js"
|
||||
"start": "node app/index.js token.json"
|
||||
},
|
||||
"dependencies": {
|
||||
"discord.js": "11.1.0",
|
||||
|
|
Loading…
Reference in a new issue