Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 527 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 527 Bytes

RM-C Discord Bot

Setup

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>',
		...
	]
};

Transpilation

You must transpile the dashboard code from ES6 to ES5. To do this, run npm run build.

Running

Run node entry.js to start the bot.