Push base Telegraf bot
This commit is contained in:
commit
05eddc7734
15 changed files with 818 additions and 0 deletions
13
commands/help.js
Normal file
13
commands/help.js
Normal file
|
@ -0,0 +1,13 @@
|
|||
const Strings = require('../locales/english.json');
|
||||
const resources = require('../props/resources.json');
|
||||
|
||||
module.exports = (bot) => {
|
||||
bot.help((ctx) => {
|
||||
ctx.replyWithPhoto(
|
||||
resources.lynxFullPhoto, {
|
||||
caption: Strings.lynxHelp,
|
||||
parse_mode: 'Markdown'
|
||||
}
|
||||
);
|
||||
});
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue