remove !bal cmd from DM only

This commit is contained in:
J62 2018-04-08 16:37:38 -07:00
parent 0117494c42
commit e72c3017a9
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
.git
config.json
node_modules
test.json

2
bot.js
View File

@ -66,7 +66,7 @@ client.Dispatcher.on(Events.MESSAGE_CREATE, e => {
*/
//!bal command only works in DM's to BOT
if (guildId === null && full_user !== bot_user && (msg.startsWith(user_prefix) && msg.startsWith("!bal"))) {
if (full_user !== bot_user && (msg.startsWith(user_prefix) && msg.startsWith("!bal"))) {
balReqChannel = e.message.channel_id;
console.log('channelid: ' + balReqChannel);
//todo add address balance lookup via: