Adding script to start bot.
This commit is contained in:
parent
14c51001a6
commit
9d35ce2400
16
scripts/start_bot.pl
Normal file
16
scripts/start_bot.pl
Normal 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;
|
Loading…
Reference in New Issue
Block a user