remove !bal cmd from DM only
This commit is contained in:
parent
0117494c42
commit
e72c3017a9
|
@ -1,3 +1,4 @@
|
|||
.git
|
||||
config.json
|
||||
node_modules
|
||||
test.json
|
||||
|
|
2
bot.js
2
bot.js
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue