-
Im using async configuration and want to use session:
```typescript
createGrammyOptions(): GrammyModuleOptions {
return {
token: myToken,
middlewares: [session({ initial: () => …
-
**How to reproduce**
1. Create a blank workers project with Wrangler
2. Add grammy
3. Run wrangler dev --local
```
✘ [ERROR] Could not resolve "http"
node_modules/grammy/out/platform.n…
-
# Problem
When using web workers, one needs to use
```ts
///
///
```
to make the code compile on Deno.
However, when this is transformed to Node, there is no way to add a built-in library…
-
**Describe your goal**
I try to make it work with the following code:
```
import { Bot, Context, session, SessionFlavor, InputFile } from "grammy";
import { run, sequentialize } from "@grammyjs/ru…
-
```sh
$ deno --version
deno 1.29.0 (release, x86_64-unknown-linux-gnu)
v8 10.9.194.5
typescript 4.9.4
$ cat test.js
Deno.exit(42);
$ deno run test.js
$ echo $?
0
```
https://github.com/gr…
-
============================================================
Deno has panicked. This is a bug in Deno. Please report this
at https://github.com/denoland/deno/issues/new.
If you can reliably reprodu…
-
**Describe your goal**
My code is:
```
bot.command( "menu", ctx => {
console.log( `[/menu] called` );
console.log( "ctx:", ctx );
console.log( "ctx.message.message_thread_id:", ctx.message.me…
-
Hi. I have a bot where i'm using a custom context with additional properties that i have set to make them available in the whole bot.
I originally posted the issue on the official chat group https://…
-
Currently in sessions, adding or removing a session data property to the bot (initial) will not modify the existing session data of the chats. It would be cool if sessions could update the stored data…
-
**Problem**: An error occcurs after conversation is finished
**Error**: `TypeError: Cannot delete property 'conversation' of #
at node_modules\@grammyjs\conversations\out\conversation.js:304:…