Skip to content

Commit

Permalink
Update site/docs/resources/comparison.md
Browse files Browse the repository at this point in the history
Co-authored-by: Roz <3948961+roziscoding@users.noreply.github.com>
  • Loading branch information
KnorpelSenf and roziscoding authored Jun 18, 2024
1 parent 43b1d71 commit 872e6ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/docs/resources/comparison.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Here is a list of reasons why you should use Telegraf instead of grammY.
In that case, migrating to grammY may take more time than you will save in the long run, no matter how smooth the migration is.
- You know Telegraf like the back of your hand and you do not care about changing your skill set.
grammY introduces a number of novel concepts that can be unfamiliar if you have used Telegraf only, and using grammY means that you will be exposed to new things.
- There are a few details where Telegraf and grammY use different syntax to achieve the same thing, and you just happen to prefer one style of the other.
- There are a few details where Telegraf and grammY use different syntax to achieve the same thing, and you just happen to prefer one style over the other.
For instance, Telegraf uses `bot.on(message("text"))` and grammY uses `bot.on("message:text")` to listen for text messages.

### NTBA
Expand Down

0 comments on commit 872e6ba

Please sign in to comment.