rayz

Results 10 comments of rayz

> add a few lines to the existing code example and contrast it with the code Were you thinking something like: In contrast, filtering for users joining a group/supergroup without...

> Yes, except that I would include it in the existing code group and add comments I included that snippet within the code group, I think it's a nice addition...

I noticed a crash when sending a POST request with an empty body to the webhook using Hono. I figured out it was due to an uncaught exception from a...

The first issue seems to be solved by using the following: ```typescript hasChatType( chatType: MaybeArray, ): this is T extends unknown ? ChatTypeContextCore : never { return Context.has.chatType(chatType)(this); } ```...

No, with the change I shared above there is no longer an error there.

That would be the ideal behavior, but it would require properly handling warnings for messages missing in locales. I have a few ideas of how this could be implemented (for...

> Shouldn't the file handling and translation be separate Yes sorry I was a bit imprecise with my words, I meant to say that I would like the plugin to...

Not exactly. I would say that the ideal implementation for this is having multiple files for the same locale. After creating the bundles the library would go _in order_ through...

> In other words, this is being superseded by #52? Yes absolutely

I created something similar before: . I'm not quite satisfies with the interface I came up with, it works but the types are a little to strict which gets in...