Final working proto - move to server success
This commit is contained in:
parent
3767df26f9
commit
9f9fa0c741
2 changed files with 6 additions and 4 deletions
|
|
@ -10,9 +10,9 @@ our @EXPORT_OK = qw(
|
||||||
IRC_CHANNEL
|
IRC_CHANNEL
|
||||||
);
|
);
|
||||||
|
|
||||||
use constant TELEGRAM_TOKEN => 'Bot Token'
|
our TELEGRAM_TOKEN => 'Bot Token'
|
||||||
use constant TELEGRAM_USER_ID => 123456789;
|
our TELEGRAM_USER_ID => 123456789;
|
||||||
use constant NICKSERV_PASSWORD => 'supersecretpassword';
|
our NICKSERV_PASSWORD => 'supersecretpassword';
|
||||||
use constant IRC_CHANNEL => '#lobby';
|
our constant IRC_CHANNEL => '#lobby';
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,8 @@ use warnings;
|
||||||
use POE;
|
use POE;
|
||||||
use POE::Component::IRC;
|
use POE::Component::IRC;
|
||||||
use WWW::Telegram::BotAPI;
|
use WWW::Telegram::BotAPI;
|
||||||
|
use FindBin;
|
||||||
|
use lib $FindBin::Bin;
|
||||||
use Secrets qw(
|
use Secrets qw(
|
||||||
TELEGRAM_TOKEN
|
TELEGRAM_TOKEN
|
||||||
TELEGRAM_USER_ID
|
TELEGRAM_USER_ID
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue