Update bot/telegrambot.js
Browse files- bot/telegrambot.js +3 -1
bot/telegrambot.js
CHANGED
@@ -3,7 +3,9 @@ import { BotToken } from "../config.js";
|
|
3 |
|
4 |
const bot = new Bot(BotToken);
|
5 |
|
6 |
-
bot.
|
|
|
|
|
7 |
|
8 |
function InitBot() {
|
9 |
bot.start();
|
|
|
3 |
|
4 |
const bot = new Bot(BotToken);
|
5 |
|
6 |
+
bot.command("start", (ctx) => {
|
7 |
+
ctx.reply("Welcome to the startup bot! 🚀 How can I help you?");
|
8 |
+
});
|
9 |
|
10 |
function InitBot() {
|
11 |
bot.start();
|