From 56999fd89d1063f9b3a9b911e066a3f5bd55693f Mon Sep 17 00:00:00 2001 From: Ceda EI Date: Tue, 12 Feb 2019 03:50:29 +0530 Subject: [PATCH] Add /help, /rate --- commands/index.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/commands/index.js b/commands/index.js index 2b88e7a..0691b46 100644 --- a/commands/index.js +++ b/commands/index.js @@ -37,5 +37,11 @@ module.exports = (bot, [ questions, kys, insults, commands_list, words ]) => { bot.command("did", (ctx) => ctx.reply(is(random)(ctx))); bot.command("should", (ctx) => ctx.reply(is(random)(ctx))); bot.command("coin", (ctx) => ctx.reply(random(["Heads", "Tails"])())); + bot.command("help", (ctx) => ctx.reply("You can either check /commands " + + "for a short overview or check the [Help Page]" + + "(https://t.me/quadnite/9).", {parse_mode: "Markdown"})); + bot.command("rate", (ctx) => ctx.reply("[Vote for me on Telegram " + + "Directory!](https://t.me/tgdrbot?start=quadnite_bot)", {parse_mode: + "Markdown"})); };