Add passing in of token file
This commit is contained in:
parent
cf33b8b14d
commit
6398e39359
|
@ -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"));
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue