Switch to environment variables

This commit is contained in:
Daniel Odendahl Jr
2017-04-05 21:18:26 +00:00
parent 4acc6b2f65
commit bd0869a3a9
13 changed files with 23 additions and 34 deletions
+1 -2
View File
@@ -1,7 +1,6 @@
const Discord = require('discord.js');
const config = require('./config.json');
const Manager = new Discord.ShardingManager('./index.js', {
token: config.token
token: process.env.TOKEN
});
Manager.spawn();