Skip to content

Commit

Permalink
fix(start-command): Updated start command (#8)
Browse files Browse the repository at this point in the history
* fix(redirect): Fixed redirect to undefined 

---------

Co-authored-by: Mike de Geofroy <[email protected]>

* feat(start-command): Updated start command.

---------

Co-authored-by: Alex Dyakonov <[email protected]>
  • Loading branch information
mikedegeofroy and AlexDyakonov authored Nov 14, 2024
1 parent 35c6da3 commit 52152c2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/commands/start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,18 @@ export function setupStartCommand(bot: Telegraf<Context>) {
const username = ctx.from.username || "unknown";
await ctx.reply(
`Добро пожаловать, @${username}!\nЧтобы воспользоваться ботом, тгени его в любой беседе @${BOT_USERNAME}`,
{
reply_markup: {
inline_keyboard: [
[
{
text: "Открыть DishDash 🥪",
switch_inline_query: "",
},
],
],
},
},
);
});
}

0 comments on commit 52152c2

Please sign in to comment.