Browse Source

make it work2

pull/1/head
calexil 5 years ago
parent
commit
f6805188e5
  1. 2
      bot.js
  2. 2
      bot.js~

2
bot.js

@ -17,8 +17,6 @@ client.on('message', message => { @@ -17,8 +17,6 @@ client.on('message', message => {
}
});
setTimeout( function ( ) { alert( "moo" ); }, 10000 ); //displays msg in 10 seconds
// THIS MUST BE THIS WAY
client.login(process.env.BOT_TOKEN);

2
bot.js~

@ -17,6 +17,8 @@ client.on('message', message => { @@ -17,6 +17,8 @@ client.on('message', message => {
}
});
setTimeout( function ( ) { alert( "moo" ); }, 10000 ); //displays msg in 10 seconds
// THIS MUST BE THIS WAY
client.login(process.env.BOT_TOKEN);

Loading…
Cancel
Save