1

Added sample jabber bot

* Добавлен черновой вариант jabber бота
This commit is contained in:
eleksir
2019-09-25 23:37:39 +03:00
parent 7af26a45c1
commit 813b0c5738
3 changed files with 142 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ use utils;
use easter_egg;
use upload;
use image_dl;
use jabberbot;
use threads;
my $CONF = loadConf();
@@ -19,6 +20,7 @@ if ($CONF->{api}->{prefix} eq '/') { $CONF->{api}->{prefix} = ''; }
my $prefix = $CONF->{api}->{prefix};
threads->create('image_dl_thread')->detach;
threads->create('run_jabberbot')->detach;
my $app = sub {
my $env = shift;