BUGFIX
This commit is contained in:
parent
2dd3dd2e80
commit
edfd1f8bf5
@ -37,7 +37,7 @@ bot.get(/Hi|Hey|Hello|Yo/, function(message) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
bot.command('start', function(message) {
|
bot.command('start', function(message) {
|
||||||
var welcome = new File().file('./some_photo.png').caption('Welcome');
|
var welcome = new File().file('./some_photo.png').caption('Welcome').to(message.chat.id);
|
||||||
|
|
||||||
bot.send(welcome);
|
bot.send(welcome);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user