Browse Source

make it work2

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

5
bot.js

@ -11,11 +11,6 @@ client.on('message', message => { @@ -11,11 +11,6 @@ client.on('message', message => {
}
});
client.on('message', message => {
if (message.content === 'hello') {
message.reply('hi there, I\'m a dumb bot that doesn\'t work');
}
});
// THIS MUST BE THIS WAY
client.login(process.env.BOT_TOKEN);

5
bot.js~

@ -11,6 +11,11 @@ client.on('message', message => { @@ -11,6 +11,11 @@ client.on('message', message => {
}
});
client.on('message', message => {
if (message.content === 'hello') {
message.reply('hi there, I\'m a dumb bot that doesn\'t work');
}
});
// THIS MUST BE THIS WAY
client.login(process.env.BOT_TOKEN);

Loading…
Cancel
Save