Move nick to env

This commit is contained in:
Daniel Odendahl Jr
2017-05-09 21:25:00 +00:00
parent 44097b19a7
commit d24a795eda
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
const { TOKEN, OWNER, PREFIX, INVITE, CLEVS_KEY, CLEVS_USER } = process.env;
const { TOKEN, OWNER, PREFIX, INVITE, CLEVS_KEY, CLEVS_USER, CLEVS_NICK } = process.env;
const { CommandoClient } = require('discord.js-commando');
const client = new CommandoClient({
@@ -20,7 +20,7 @@ const Cleverbot = require('./structures/Cleverbot');
const clevs = new Cleverbot({
key: CLEVS_KEY,
user: CLEVS_USER,
nick: 'XiaoBot'
nick: CLEVS_NICK
});
clevs.create();
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiaobot",
"version": "18.9.4",
"version": "18.9.5",
"description": "A Discord Bot",
"main": "shardingmanager.js",
"scripts": {