Re: Does anyone here know how to create a Telegram bot in D?

2022-07-29 Thread AnimusPEXUS via Digitalmars-d-learn
On Saturday, 30 July 2022 at 04:06:28 UTC, Murilo wrote: Hi guys, I need to create a Telegram bot in D, does anyone here know how to do it? Is it possible to do it using arsd? https://core.telegram.org/bots/api The Bot API is an HTTP-based interface created for developers keen on building bots

Re: Does anyone here know how to create a Telegram bot in D?

2022-07-29 Thread AnimusPEXUS via Digitalmars-d-learn
so basically you have to do http-client programming also there's some outdated tg packages in repo https://code.dlang.org/search?q=telegram

Proper way to override (swap) runtime and phobos. [feature request?]

2022-11-23 Thread AnimusPEXUS via Digitalmars-d-learn
for development purposes. is there are correct way to somehow (partially or complete) override druntime and phobos? or, maybe, some code injection/patching mechanisms during compilation of own code.

Re: Running only one instance of the app

2021-12-04 Thread AnimusPEXUS via Digitalmars-d-learn
If I would need to solve this question, I'd used pipe files or unix files. Simply create one from main instance and reply some `{"status": "running"}` json to it and try reading this pipe in app start

Re: I like dlang but i don't like dub

2022-03-21 Thread AnimusPEXUS via Digitalmars-d-learn
On Friday, 18 March 2022 at 04:13:36 UTC, Alain De Vos wrote: Dlang includes some good ideas. But dub pulls in so much stuff. Too much for me. I like things which are clean,lean,little,small. But when i use dub it links with so many libraries. Are they really needed ? And how do you compare to py