Browse Source

Add passing in of token file

master
benji7425 4 years ago
parent
commit
6398e39359
  1. 2
      app/index.js
  2. 2
      package.json

2
app/index.js

@ -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"));

2
package.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…
Cancel
Save