Put an authorization.js
file in src
, structured like so:
module.exports = {
DISCORD_PRD_TOKEN: '<Production Discord Bot Token>',
DISCORD_DEV_TOKEN: '<Development Discord Bot Token>',
MONGO_PRD_URI: '<Production MongoDB URI>',
MONGO_DEV_URI: '<Development MongoDB URI>',
OWNERS: [
'<Owner 1 ID>',
...
]
};
You must transpile the dashboard code from ES6 to ES5. To do this, run npm run build
.
Run node entry.js
to start the bot.