Add notice about config/registry; TODO: make setup.pl script?

This commit is contained in:
Pragmatic Software 2018-03-25 10:42:04 -07:00
parent 2429521b78
commit 54d194e922
1 changed files with 11 additions and 0 deletions

11
pbot.pl
View File

@ -18,6 +18,17 @@ use warnings;
use lib ".";
use PBot::PBot;
# !! NOTICE !!
#
# The configuration values in this file are written to $bothome/config/registry
# after the first run!
#
# Subsequent edits to this file will not take effect! You must edit the
# $bothome/config/registry file instead or use the registry commands in
# the bot (regadd, regset, regchange, etc).
#
# !! NOTICE !!
# Be sure to set $bothome to the location PBot was extracted (default assumes ~/pbot).
# This location must contain the PBot directory, among others configured below.
my $bothome = "$ENV{HOME}/pbot";