eleksir ad37a349c1 Implement fortune commands set
+ !f, !ф, !fortune, !фортунка - show random phrase from fortune_mod db
+ !f 1, !ф 1, !fortune 1, !фортунка 1 - show fortune in chat at ~8 am
+ !f 0, !ф 0, !fortune 0, !фортунка 0 - do not show fortune in the morning
+ !f ?, !ф ?, !fortune ?, !фортунка ? - query morning fortune status
2020-11-22 15:17:34 +03:00
2020-11-22 15:17:34 +03:00
2020-11-22 15:17:34 +03:00
2020-11-22 15:17:34 +03:00
2020-10-30 18:14:00 +03:00
2020-11-15 20:40:54 +03:00

Aleesa-Telegram-bot - Simple Telegram chatty bot

About

It is based on Perl modules Telegram::Bot and Hailo as conversation generator.

I have to fork Telegram::Bot and add some of new methods that are already appear in Telegram API, but author seems to abandon lib. Also i decide to rename it to avoid collision in future, now it is Teapot::Bot and is bundled with bot. When lib become mature enough, maybe i release it separately.

Bot config located in data/config.json, sample config provided as data/sample_config.json.

Bot can be run via bin/aleesa-telegram-bot and acts as daemon.

Installation

In order to run this application, you need to "bootstrap" it - download and build all required dependencies and libraries.

You'll need "Development Tools" or similar group of packages, perl, perl-devel, perl-local-lib, perl-app-cpanm, sqlite-devel, zlib-devel, openssl-devel, libdb4-devel (Berkeley DB devel), make.

After installng required dependencies it is possible to run:

bash bootstrap.sh

and all libraries should be downloaded, built, tested and installed.

Description
No description provided
Readme 674 KiB
Languages
Perl 99.9%
Shell 0.1%