grammY tips

Description
Tips, tricks, stories, and quizzes related to grammY. New post every Friday.

Chat: @grammyjs
News: @grammyjs_news
Docs: grammy.dev
We recommend to visit

The official Telegram on Telegram. Much recursion. Very Telegram. Wow.

Last updated 1 month, 2 weeks ago

🌐 https://ipapkorn.github.io
Stay connected with the latest iPapkorn Bots and News 🗞️

Bots: https://t.me/iPapkornBots/2

Last updated 2 months, 1 week ago

Breaking News | Observing world events unfold in the grand theater of our time.

Last updated 3 weeks, 5 days ago

2 months, 2 weeks ago

❗️ Fact

More than a year after this tip, we still do not have a community management bot in @grammyjs. However, with the recent increase of crypto scams to approximately ~150 spam messages every week, even the large number of admins grew tired of banning so many accounts all the time. We now have @grammYguardbot—a new type of captcha that keeps automated crypto scam accounts out while keeping the chat itself automation-free. Humans, assemble!

2 months, 3 weeks ago
3 months ago

? Tip

The core library has built-in support for commands. If this is not enough, you can use the commands plugin which has many exciting features such as scopes, translations, custom prefixes, regular expressions, and many more. Check out the docs: https://grammy.dev/plugins/commands

3 months, 1 week ago

❗️ Fact

grammY has contributors from at least 18 different timezones.

3 months, 2 weeks ago
3 months, 3 weeks ago

? Tip

Finding a good username for your bot is hard. It often needs many attempts to find a good username that is not taken yet.

Instead of going back and forth with @BotFather many times, it is a lot easier to create a new public channel. You can try giving a public link to the channel that ends with bot. The UI gives you immediate feedback on which names are available. Once you have found a good name, you can delete the channel and claim the name with @BotFather.

3 months, 4 weeks ago

❗️ Fact

All official grammY projects are licensed under MIT. This basically means that you're free to do whatever you want with the source: https://github.com/grammyjs/grammY/blob/main/LICENSE

4 months ago
4 months, 1 week ago

? Tip

Bots can format messages with HTML or markdown. However, both formats require escaping numerous characters. This can be annoying.

The parse-mode plugin lets you send messages with formatting, too. It requires no escaping. It provides concise syntax to build up message entities under the hood, which can directly be sent to Telegram.

4 months, 2 weeks ago

❗️ Fact

grammY needed two years to reach 1000 stars on GitHub, but it only took 15 more months to reach 2000 stars.

We recommend to visit

The official Telegram on Telegram. Much recursion. Very Telegram. Wow.

Last updated 1 month, 2 weeks ago

🌐 https://ipapkorn.github.io
Stay connected with the latest iPapkorn Bots and News 🗞️

Bots: https://t.me/iPapkornBots/2

Last updated 2 months, 1 week ago

Breaking News | Observing world events unfold in the grand theater of our time.

Last updated 3 weeks, 5 days ago