Try to move most of static commands to redis rails

This commit is contained in:
eleksir
2022-01-01 02:00:43 +03:00
parent 31e077c219
commit c68f716cbb
3 changed files with 20 additions and 45 deletions

View File

@@ -145,7 +145,9 @@ local $SIG{TERM} = \&__signal_handler;
$PROGRAM_NAME = abs_path $PROGRAM_NAME; ## no critic (Variables::RequireLocalizedPunctuationVars)
# make some global vars for telegram and redis context
our ($TGM $REDIS);
our $TGM;
our $REDIS;
our $RCONN;
# run bot, at last
RunTelegramBot ();