Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
roziscoding authored Aug 10, 2023
1 parent adfbbb8 commit e56e971
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/docs/pt/guide/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const bot = new Bot(""); // <-- coloque o token do seu bot entre ""
// O grammY irá chamar os listeners quando usuários enviarem mensagens para seu bot.

// Trata o comando /start.
bot.command("start", (ctx) => ctx.reply("Boas vindas! Online e roteando :sunglasses:"));
bot.command("start", (ctx) => ctx.reply("Online e roteando! :sunglasses:"));
// Trata outras mensagens.
bot.on("message", (ctx) => ctx.reply("Chegou outra mensagem!"));

Expand Down Expand Up @@ -180,7 +180,7 @@ const bot = new Bot(""); // <-- coloque o token do seu bot entre ""
// O grammY irá chamar os listeners quando usuários enviarem mensagens para seu bot.

// Trata o comando /start.
bot.command("start", (ctx) => ctx.reply("Boas vindas! Online e roteando :sunglasses:"));
bot.command("start", (ctx) => ctx.reply("Online e roteando! :sunglasses:"));
// Trata outras mensagens.
bot.on("message", (ctx) => ctx.reply("Chegou outra mensagem!"));

Expand Down

0 comments on commit e56e971

Please sign in to comment.