
The base schedule was specified in the bot configuration file, which made it a bit painful to do last-minute configuration. The bot shall load a basic minimal database and support being configured online instead, using commands and json imports. This change removes the schedule loading from configuration, and replaces it with a function to update the database using a provided JSON URL (the ~fetchdb admin command). Change-Id: I4e7a79baf88cce8d827eb66b1b0c26584c62c8d7
9 lines
162 B
Plaintext
9 lines
162 B
Plaintext
{
|
|
"irc_nick": "NICK",
|
|
"irc_pass": "",
|
|
"irc_server": "irc.freenode.net",
|
|
"irc_port": 6667,
|
|
"irc_channel": "#CHANNEL",
|
|
"db_filename": "html/ptg.json"
|
|
}
|