Try to move most of static commands to redis rails
This commit is contained in:
@@ -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 ();
|
||||
|
||||
Reference in New Issue
Block a user