Add passing in of token file
This commit is contained in:
parent
cf33b8b14d
commit
6398e39359
|
@ -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