awitwicki / PowerBot.Lite

MIT License
4 stars 0 forks source link

Suggestions #2

Open Kotov584 opened 10 months ago

Kotov584 commented 10 months ago

Hi! Really nice bot wrapper you are developing. I would suggest to write what Telegram bot api version is supported right now and to create Telegram group / channel. How I can also save handlers in specific folder like "handlers" folder? Otherwise, really great job! P.S. Any example will be cool to see.

awitwicki commented 9 months ago

Hi, thank you. I have created a Telegram channel and ill try to post some update changelogs here.

How I can also save handlers in specific folder like "handlers" folder?

That was in the early versions, but I've reworked it to require explicit type declaration by the builder method..RegisterHandler<SampleHandler>() where SampleHandler is your handler implementation. You can store it in any folder or linked project, Thankfully for PoweBot logic it will use that class for handle messages.

About examples, there is example in Example folder, also i have some other pet projects based on this library: druzhokbot, rude_bot