diff --git a/README.md b/README.md index 1b0701b..5edbed5 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,11 @@ bot.command('start', function(message) { bot.send(welcome); }); + +// Arguments, see: https://github.com/mdibaiee/node-telegram-api/wiki/Commands +bot.command('weather [date]', function(message) { + console.log(message.args.city, message.args.date); +}) ``` Bots using this module