Browse Source

commands

tags/Beta0.1
calexil 3 years ago
parent
commit
256464b316
2 changed files with 12 additions and 12 deletions
  1. 8
    8
      bot.js
  2. 4
    4
      bot.js~

+ 8
- 8
bot.js View File

@@ -6,49 +6,49 @@ client.on('ready', () => {
});

client.on('message', message => {
if (message.content === 'ping') {
if (message.content === '!ping') {
message.reply('pong');
}
});

client.on('message', message => {
if (message.content === 'test') {
if (message.content === '!test') {
message.reply('it worked...');
}
});

client.on('message', message => {
if (message.content === 'best girl?') {
if (message.content === '!best girl?') {
message.reply('Big Band...');
}
});

client.on('message', message => {
if (message.content === 'best girl') {
if (message.content === '!best girl') {
message.reply('Big Band...');
}
});

client.on('message', message => {
if (message.content === 'best grill?') {
if (message.content === '!best grill?') {
message.reply('Big Band...');
}
});

client.on('message', message => {
if (message.content === 'best grill') {
if (message.content === '!best grill') {
message.reply('Big Band...');
}
});

client.on('message', message => {
if (message.content === 'hi') {
if (message.content === '!hi') {
message.reply('hello there, you can see my commands here: https://github.com/calexil/BansheeBot/blob/master/Commands.md');
}
});

client.on('message', message => {
if (message.content === 'commands') {
if (message.content === '!commands') {
message.reply('you can see my commands here: https://github.com/calexil/BansheeBot/blob/master/Commands.md');
}
});

+ 4
- 4
bot.js~ View File

@@ -6,13 +6,13 @@ client.on('ready', () => {
});

client.on('message', message => {
if (message.content === 'ping') {
if (message.content === '!ping') {
message.reply('pong');
}
});

client.on('message', message => {
if (message.content === 'test') {
if (message.content === '!test') {
message.reply('it worked...');
}
});
@@ -43,13 +43,13 @@ client.on('message', message => {

client.on('message', message => {
if (message.content === 'hi') {
message.reply('hello there, you can see my commands here: https://github.com/calexil/BansheeBot/blob/master/Commands');
message.reply('hello there, you can see my commands here: https://github.com/calexil/BansheeBot/blob/master/Commands.md');
}
});

client.on('message', message => {
if (message.content === 'commands') {
message.reply('you can see my commands here: https://github.com/calexil/BansheeBot/blob/master/Commands');
message.reply('you can see my commands here: https://github.com/calexil/BansheeBot/blob/master/Commands.md');
}
});


Loading…
Cancel
Save