Skip to content

MrModest/CommunityBot

Repository files navigation

CommunityBot

DockerHub: https://hub.docker.com/repository/docker/mrmodest/communitybot

Description

Simple telegram bot which was created for internal closed community.

New bot command can be implemented by inhering base class for this: BotCommandHandlerBase. Then you need override Config for set command name and using flags. After you must write the handle logic and return result which will be interpreted to send response if needed.

If you need more complex handle logic than simple bot command, you can inherit UpdateHandlerBase. For this you need override AllowedUpdates, CanHandle and similarly implement your handle logic.

BotClient's sending methonds calling in BotService in method SendResult based on IUpdateHandlerResult (which returned by update handlers).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages