diff options
Diffstat (limited to 'main.js')
-rw-r--r-- | main.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -8,11 +8,13 @@ parser.option("-h, --help", "show help"); parser.option("-c, --channel=CHANNEL", "IRC channel to join"); parser.option("-n, --nick=NICK", "Nickname of the bot"); parser.option("--checkinsUrl", "URL to use when looking for checkins"); +parser.option("--whoUrl", "URL to use when looking for who's present"); var args = process.argv.slice(2); var defaults = { channel: "#bitraf", checkinsUrl: 'http://hermes.bitraf.no/~trygvis/checkins/checkins-by-day.php?from=today', + whoUrl: 'http://hermes.bitraf.no/~trygvis/checkins/checkins.php?from=24%20hours', nick: os.hostname() }; |