Adding script to start bot.

This commit is contained in:
Sergiotarxz 2024-05-22 23:41:27 +02:00
parent 14c51001a6
commit 9d35ce2400

16
scripts/start_bot.pl Normal file
View File

@ -0,0 +1,16 @@
#!/usr/bin/env perl
# perl -Ilib -MTgMagicPdf -e 'TgMagicPdf->new->run';
use v5.38.2;
use strict;
use warnings;
use feature 'signatures';
use File::Basename;
use lib dirname(dirname(__FILE__)).'/lib';
use TgMagicPdf;
say 'Starting the Bot...';
TgMagicPdf->new->run;