-
Even if RegExp commands are not meant to be used / listed in the commands menu, a more appropriate error should be shown. Noted that if an error handler is not registered, it will stop execution
In…
-
Existing code stopped working with 1.22.0, to be exact #553.
```typescript
bot.on(
'edited_message',
async ctx =>
ctx.reply(
'Edited!',
{reply_to_message_id: ctx.editedMessage.messa…
-
Hi, I used grammy,but report error: HttpError: Network request for 'getMe' failed!
my source code:
```ts
// main.ts
import { config } from "dotenv";
config();
import { Bot, GrammyError, Htt…
wudb updated
6 months ago
-
Right now fuzzyMatch is searching trough all localized and non-localized versions of the commands.
Example mimicking the inner workings of the fuzzyMatch:
```ts
const cmds = new Commands();
…
-
Tried `.on('message')` and also `.hears()` but it seems not to be working.
-
hi!
I'm trying to deploy my bot and starting with following examples in the docs. I get to the same error in 2-3 ways:
- when following https://grammy.dev/hosting/fly to try to deploy to Fly
-…
janek updated
5 months ago
-
# The road to Fresh 2.0
_**tl;dr:** Fresh will become massively simpler and be distributed via JSR with the upcoming 2.0 release. Express/Hono-like API and true async components and much more._
…
-
Hi there, I'm getting the following error while trying to build a bot on Cloudflare after having installed the `conversations` plugin:
```
✘ [ERROR] Could not resolve "fs/promises"
node_mod…
-
```typescript
// In .../node_modules/@grammyjs/types/manage.d.ts - Consider line 182
/** This object represents a chat. */
export type Chat = Chat.PrivateChat | Chat.GroupChat | Chat.SupergroupChat…
-
When a bot class has an environment variable `test`:
```typescript
const bot = new Bot(token, {
client: { environment: environment === 'production' ? 'prod' : 'test' }
});
```
Using this cod…