ptgbot/config.json.sample
Thierry Carrez a6fde630ba Facilitate Ethercalc cells specification
Rather than have to list every Ethercalc cell (and add comments
to every such cell to indicate room/time), describe the shape
of the ethercalc and automate retrieval of information.

Change-Id: I6939a1a7c5706d6f67b03b07ed11d9daf8c297c9
2017-06-29 16:46:16 +02:00

41 lines
734 B
Plaintext

{
"irc_nick": "NICK",
"irc_pass": "",
"irc_server": "irc.freenode.net",
"irc_port": 6667,
"irc_channel": "#CHANNEL",
"db_filename": "html/ptg.json",
"ethercalc_url": "https://ethercalc.openstack.org/_/MYDOC/cells",
"ethercalc_cells": {
"room_line": "8",
"time_column": "A",
"time_range": [ 9, 24 ],
"days": [
{
"B": ["14", "15", "16"],
"C": [],
"D": []
},
{
"E": ["14", "15", "16"],
"F": [],
"G": []
},
{
"H": ["14", "15", "16"],
"I": [],
"J": []
},
{
"K": ["14", "15", "16"],
"L": [],
"M": []
},
{
"N": [],
"O": []
}
]
}
}